|Help on ComboBoxCellEditor [message #1162698]
||Wed, 30 October 2013 15:05
| Rajesh Arumugam
Registered: October 2013
I need a small clarification on 'ComboBoxCellEditor'. I have created and registered configuration to a column, which renders the whole column as 'Combo box' with the required values. But, I need to do this for each cell, instead of doing it for all cells in that column.
For example, I have 2 columns like this in my table
Drinks Type| Brand
And Data like this:
I added 'ComboBoxCellEditor' to column 'Brand' with combo values 'Coffee','Tea'.But I need this combo values should be dynamic. ie based on user selection in 'Drinks Type' column which have 'comboboxcelleditor' rendering. So If user selects, 'Hot' in 'Drinks Type' column in the 1st row, 'Brand' column should show Coffee,PIN.2,Tea as combo value. If user selects 'Cold', then 'Brand' column should show Pepsi, Coke.
My question is whether its possible to add dynamic content to combo box cell editor for each cells in a column, instead of adding same values to all cells in that column. Please suggest me good approach to achieve this.
Powered by FUDForum
. Page generated in 0.03461 seconds