header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Shalu
Points:0
Posts:0

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!



1
Wilbur
Points: 510
Posts:0
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

2
shalu
Points: 20
Posts:0
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!


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 2+2 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions