We set the valuelist of a column to an ultradropdown, and bind the data source of the ultradropdown via setdatabinding(). Each dropdown in each row in the grid will have the same list. If I try to plug a list on a given row (even the cell's valuelistresolved) it changes the list in the dropdown on each other row. How can I populate the dropdowns on different rows with different items?
If you set the ValueList property of a cell, it does not affect any other cell. If this is happening, then something else is going on in your code that is causing it.
Typically, if you are going to assign a ValueList to the cell, you would do so in the BeforeCellActivate or InitializeRow event of the grid - or maybe both. It depends on the behavior you want.
Thanks, but this was the answer I was afraid to hear - I'm really concerned about performance - filling drop down lists for each row instance, and multiple drop downs per row, especially if the drop down lists are large and the number of rows are large, which is frequent for us. Yikes! Is there a suggested strategy to follow with respect to obtaining good performance in such a situation?
Please confirm my understanding - if I set a drop down on the column's valuelist, I can access it via the column valuelist or the cell valuelistresolved, but the cell's valuelistresolved is really a reference to the column's valuelist. BUT, if I instead set a drop down on the cell's valuelist, then each cell's valuelistresolved will be a unique list?
Thanks a lot!