PDA

View Full Version : Dynamic Grid behavior



dscaci
6 Mar 2011, 3:45 PM
I am interested in creating a grid in which has as columns a string, a combo box and optionally another string. The value of the first string should dictate what gets populated in the combo box and the value in the combo box determines if the first string should be non-empty. And ideally that second string should have a value type like the properties editor.

dscaci
6 Mar 2011, 3:57 PM
I should have said a bit more. I was planning on extending ColumnModel and then its getCellEditor function. I then can create new combo boxes based on row and previous column value. Not sure how to make a column have no value at all, other than to hide the text box.