Set data of your Dropdownlist by overriding the set data  method of item 
renderer.

-----Original Message-----
From: vijendra sainy [mailto:[email protected]] 
Sent: Thursday, May 22, 2014 11:38 AM
To: [email protected]
Subject: selected item of drop down list shows blank when I scroll advance 
datagrid

Hi all,

I am facing a issue. I created a advance datagrid and added dropdownlist as 
item render. Now if there are large number of data in dataprovider of 
advancedatagrid. Scroll appears on the screen.
Here everything works fine but if I scroll down the data in dropdownlist gone. 
Similarly when I scroll up the data which was previously visible in 
dropdownlist also gone. Please suggest me if there is any solution.

Below is the code I used for DDL

DDLItemRenderer.mxml
<s:MXAdvancedDataGridItemRenderer xmlns:fx="...."  xmlns:s="....." >
           <s:DropDownList id="myDD" labelField="location"
change="ChangeHandler(event)"
dataProvider="{myDDArrayCollection}"/>
</s:MXAdvancedDataGridItemRenderer>


Here is ADG column

<mx:AdvancedDataGridColumn headerText="Dropdown Data"
                                               showDataTips="true"
sortable="false"

 itemRenderer="DDLItemRenderer"/>



--
Regards,
*Vijendra Sainy*

*http://www.riamagic.blogspot.com/* <http://www.managementvj.blogspot.com/>
*http://www.managementvj.blogspot.com/
<http://www.managementvj.blogspot.com/>*
This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient, you are not authorized 
to read, print, retain, copy, disseminate, distribute, or use this message or 
any part thereof. If you receive this message in error, please notify the 
sender immediately and delete all copies of this message.

Reply via email to