PDA

View Full Version : [CLOSED] Dynamically add cellediting plugin AFTER grid has been created.



jchau
Jan 18, 2013, 1:23 AM
Is it possible to add cellediting plugin AFTER grid has been created? This can be server side or client side. I have a pretty complex grid where I have a button that turns on edit mode. I dont want to initially load with edit mode turned on because of overhead with it.

Baidaly
Jan 18, 2013, 2:11 AM
Hello!

Try to use the following code:



App.GridPanel1.initPlugin(
Ext.create('Ext.grid.plugin.CellEditing', {
clicksToEdit: 1
});
);