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

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

问题描述

我在我的 EXTJS FlexGridPanel
中使用了一个 new Ext.grid.CheckColumn现在复选框列不允许多选,所以我需要用一列单选按钮替换它.是否可以将 CheckColumn 设为单选?
如果没有,我该如何放置单选按钮列.在此链接中,似乎网格不支持单选按钮.
http://docs.sencha.com/ext-js/3-4/#!/api/Ext.grid.CheckboxSelectionModel

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

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

I say this because there is CheckboxSelectionModel but no RadioButtonSelectionModel

推荐答案

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

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

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

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