标签:als max get owb require lse dex grid field
Ext JS Library 2.2.1正确:
var cm = Ext.getCmp(‘Grid‘).getColumnModel();
cm.setEditor(cm.findColumnIndex(‘TestColumn‘), new Ext.grid.GridEditor(new Ext.form.NumberField({
allowBlank : false,
cls : ‘required‘,
vtype:‘precision‘,
minValue: 0,
maxValue: 999999999.999})));
错误:
var cm = Ext.getCmp(‘Grid‘).getColumnModel();
cm.setEditor(cm.findColumnIndex(‘TestColumn‘), new Ext.form.NumberField({
allowBlank : false,
cls : ‘required‘,
vtype:‘precision‘,
minValue: 0,
maxValue: 999999999.999}));
不能按单元格设置Editor?
标签:als max get owb require lse dex grid field
原文地址:http://blog.51cto.com/13685327/2160232