PDA

View Full Version : ComboBox in a Grid where each row has different options - doable?



JKeane
30 Nov 2009, 11:30 AM
I am currently coding an EditorGridPanel in which one column has a ComboBox as its editor. Thing is, each row needs to have its own list of options to choose from (row A might have "foo", "bar", and "baz", but row B might just have "bar", for example). My initial thought was "OK, I can set the baseParams for the ComboBox's store each time I choose a row" (which I would accomplish via the grid's SelectionModel). That's been giving me buggy results, though, to which I think that my approach is the incorrect one to take.

Has anyone successfully attempted doing something like this? If it requires a plugin, could you point me to it?

Thanks!

JKeane
9 Dec 2009, 10:56 AM
Any ideas?