I have a grid with 3 columns and 5 rows.
I have attached a CellEditing plugin to the grid. And for the 3rd column i have defined an numberfield editior.
So now due to this each row 3rd column has a numberfield editor attached to it.
But due to some condition present in data/column metadata, i want to disable the numberfield editor for 2nd and 4th row.
I am unable to disable cell editor for particular rows as the editor is attached at the column level.
Is there a way in ExtJS to handle this kind of scenario.
I am using ExtJS 5.
beforeedit
event and return false for cells that are not editable. - Evan Trimbolibeforeedit
event is where the editor is attached to the cell. Also, I'm curious why you say you don't want to usebeforeedit
, what makes you say that? - Evan Trimboli