我有一个GridPanel中定义如下:ExtJS的 - Roweditor不工作
Ext.define('Mb.view.winbiz.ExportGrid', {
extend: 'Ext.grid.Panel',
store: 'winbiz.Exports',
plugins: [{ptype: 'rowediting', clicksToMoveEditor: 2, autoCancel: false}],
columns: [
{text: 'Id', dataIndex: 'id'},
{
text: 'Description',
dataIndex: 'description',
flex:1,
editor: {
xtype: 'textfield',
allowBlank: false
}
}
]
});
我有这个问题与rowEditing插件:
相反编辑线的上,我双击,一个新的行插入网格顶部,但不显示编辑器字段。
我在代码中无处不在,与working example based on the doc比较,但我找不到什么是不正确的。
这是它的样子:
我没有使用自定义模板,但是只有在RowCode工作的'sencha app build'之后。非常感谢您分享此解决方案。 (我使用的是ExtJS 4.2.1)。 – jgrocha