次のように定義された gridPanel があります。
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 プラグインでこの問題が発生しました。
ダブルクリックした行を編集する代わりに、新しい行がグリッドの上部に挿入されますが、エディター フィールドは表示されません。
コードのいたるところを調べ、 doc に基づく実際の例と比較しましたが、正しくないものが見つかりません。
これは次のようになります。