1
所以我有一個常用的網格,一些列:ExtJS的GridPanel中與單選按鈕的列
{
xtype : 'gridpanel',
mode : "MULTI",
region : 'center',
title : "grid",
id : 'datagridResult',
margin : '10 5 5 5',
columns : [
{
xtype : 'gridcolumn',
dataIndex: 'TEST',
flex : 0.25
},
{
xtype : 'gridcolumn',
dataIndex: 'Test2'
flex : 2
},
//...
我要的是增加3個列,其是單選按鈕(每列一個按鈕)。我試過這樣的:
{
xtype : 'gridcolumn',
text : "FOR"
dataIndex: 'for',
flex : 1,
editor: {
xtype : 'radiofield',
name : 'Regex',
inputValue: 'Checked'
},
}
而且它不起作用。所以我在這裏要求任何建議。
謝謝,謹慎的我想要的 – Chazz1
非常歡迎☺ –