Hi,
I am trying to add an editor to a cell, depending on the combo value selected in another cell.
consider there are 2 columns, 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 | | |
Thanks in advance!
From stackoverflow
-
It's hard to give a specific answer without seeing some sample code, but the basic idea would be to have the "select" handler for column 1 call "setEditor()" on column 2 with the appropriate editor object.
For more details, take a look at the API docs - look up "ColumnModel"
0 comments:
Post a Comment