3/7/2011 8:16:48 AM
Title:
Using List itemrenderer with Datagrid
Hi All,
I am facing an issue while using list as itemrenderer in datagrid.
The issue is to display the selected items in each list. I have
implemented binding of list's selectedIndices with DataGrid's data
provider. But it doesnt work as expected.
If i click on list in a cell and select some item and then If i scolls
the grid / add a row to the grid.
The previously selected items in other cell's list goes off.
Pls help me to find our a solution for this. Thanks!
3/8/2011 10:26:22 AM
its happens due to the behavior of list control. The list controls actually contains the rows that are being displayed the rest of the rows and added or removed when scrolling the content. So as you scroll new rows will be added and old will be removed due to binding of the data
3/8/2011 9:15:01 PM
Same issue occurs while using checkbox as itemrenderer in grid, the selection changes if user scrolls grid..but this is resolved if two way binding is there with data provider. But the this solution does not help in case of list.
If anyone has the solution for list control, pls provide that.
Thanks in advance!