PDA

View Full Version : How to make entire row editable after grid is rendered.



tsuryap
3 Jun 2015, 4:24 AM
Hi,

I am using cell editing in my grid. I just want to make the first row editable once the grid is edited. Current I am using
var record=grid.getStore().getAt(0);
grid.plugins[0].startEdit(record,1);

Above code is making the first row first column editable how to make entire row editable ?

scottmartin
4 Jun 2015, 9:06 AM
Cell Editing is as advertised, by cell. An editor is place on top of the cell at x,y.

Perhaps you would be interested in the row editor?
http://docs.sencha.com/extjs/4.2.3/#!/example/grid/row-editing.html