1
2
3
|
var
grid = X.GetCmp<GridPanel>(vm.GRID_QUOTATIONS_FEEITEM_RANGE_SHOW);
grid.AddColumn(Html.X().ComponentColumn()<span style= "color: rgb(255, 0, 0);" >.Editor( true )</span>.DataIndex(dataIndex).Text(e.FeeItemCompareDesc).Component(Html.X().Checkbox()<span style= "color: rgb(255, 0, 0);" >.AutoDataBind( true )</span>.ReadOnly( true )).Align(Alignment.Center));
|
必须设置代码中标红的属性才可以通过Store绑定CheckBox的值
[Irving] Ext.Net动态添加GridPanel列绑定Checkbox值失败的解决办法,布布扣,bubuko.com