在extjs网格中使用无线电组 [英] using a radio group in a extjs grid

查看:81
本文介绍了在extjs网格中使用无线电组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在EXTJS FlexGridPanel 中使用了一个新的Ext.grid.CheckColumn

现在,复选框的列不允许多个选择,所以我需要用一列单选按钮替换它。
是否可以将CheckColumn作为单选?

如果没有,我如何放置单选按钮列。在此链接中,网格似乎不支持单选按钮。

http://docs.sencha.com/ext-js/3-4/#!/api/Ext.grid.CheckboxSelectionModel



我说这是因为有 CheckboxSelectionModel 但没有 RadioButtonSelectionModel

解决方案

CheckboxSelectionModel具有一个属性 singleSelect 。这是你需要的吗?


I was using a new Ext.grid.CheckColumn in my EXTJS FlexGridPanel
Now the column of checkboxes do not allow multiple selections , so I need to replace it with a column of radio buttons. Is it possible to make the CheckColumn as single-select?
If not, how can I put the column of radio buttons. In this link, it seems like the grid does not support radio buttons.
http://docs.sencha.com/ext-js/3-4/#!/api/Ext.grid.CheckboxSelectionModel

I say this because there is CheckboxSelectionModel but no RadioButtonSelectionModel

解决方案

CheckboxSelectionModel has a property singleSelect. Is that what you need?

这篇关于在extjs网格中使用无线电组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆