PDA

View Full Version : How to get another combobox in a corresponding row of a grid



anthonykulis
15 Aug 2011, 11:06 AM
Hi,

I need some help here. I am writing a grid panel with 2 editor comobox plugins. The grid is for dormitory assignment. Columns 3 and 4 are the combobox editor plugins. Column 3 is the dorm room number and column 4 is the dorm bed number for a particular student. I can not figure out how to update the value of column 4 combobox when column 3 combobox has a certain value selected by the user. Any ideas how to get the combobox in column 4 through the combobox in column 3's selection listener?

Thanks

skirtle
16 Aug 2011, 1:24 PM
Are you using a row editor or just individual cell editors?

Could you give a specific example of the sort of change that would occur to the column 4 combobox when a selection is made in column 3? Can you describe what the user interactions would be (i.e. what the user would do and what would happen as a result)? Please be specific, your original example left too much ambiguity to give a useful answer.