Hi, guys... First of all, thank you for the grid component, Sigma Grid team.
But I have a question for you, and I would be very and very grateful to any of you if someone helps me, sorry, as soon as possible. I have a task that requires to display composite-keyed values in the Sigma grid. What I mean, we could have some data structure: the primary key (e.g. with values Type #1 and Type #2) that are available thru the drop downs, and something like composite key that refers to the primary key and some its id, e.g. 1-1 is Type#1/A, 1-2 is Type#2/C and so on. It might be something like the following:
| Type #1 [v] | #1-A [v] |
| Type #2 [v] | #2-C [v] |
I need to display drop downs for items that are specified with composite keys. I have implemented the references between the columns info myself, and the only thing that I still don't know how to implement is just how to dynamically specify drop down lists. I mean if the first row, column #1 in the previous grid is set to Type #2 then I need dynamically change the column #2 by deleting the previous list values and building the selector with e.g. #2-A, #2-B, #2-C, etc.
I tried to use something like (in the custom cell renderer):
(I'm not sure the code is valid, 'cause I have no the source code now)
and then rerender the grid. It had not any effect at all, though I changed the "options" key.
1) Is it possible to specify unique lists drop down controls for each cell for the entire column?
2) How can I change the drop downs dynamically, and will it affect all lists that belong to the same column?
3) ...or is there any better way to resolve this problem making each cell have its own list.options?
Thank you very much! Your help is very appreciated.