Reputation: 4138
Can we specify multiple SAME plugins(but with different initial config) for one grid? And what behaviour should we expect?
this.gridConf = {
plugins: [
Ext.create('Ext.grid.plugin.CellEditing', {clicksToEdit: 1,
listeners: {
'beforeedit': function (editor, context, e) {
...
},
'edit': function (editor, context, e) {
...
}
}})
,
Ext.create('Ext.grid.plugin.CellEditing', {clicksToEdit: 2})
]
}
Upvotes: 1
Views: 199
Reputation: 4138
Works only first plugin, others are ignored. So i've removed last from this legacy piece of code, and nothing changed.
Upvotes: 1