Editable grid dynamic editor update
I am trying to add an editor to a cell, depending on the combo value selected in another cell.
consider there are 2 columns of Editor Grid, with one column a combo editor applied. If I select index 1, the column 2 adds a date editor, else a string editor.
Basically I am building a Query Builder, so
<column name> | <operator> | <value> | <AND/ OR>
Thanks in advance!
You can create a custom columnmodel and assign it to your editorgridpanel. Then override the getCellEditor method to suit your needs.
I need to add the editor at run time, as the user selects the combo option of column 1.
Originally Posted by cdeguzman
By overriding the getCellEditor, we can only assign editors at the start and not runtime.