flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vijendra sainy <viju18...@gmail.com>
Subject Re: selected item of drop down list shows blank when I scroll advance datagrid
Date Thu, 22 May 2014 06:18:30 GMT
I did that but some how its now working.


override public function set data(value:Object):void{
//Set the selected item in ddl
}


On Thu, May 22, 2014 at 11:42 AM, Patil, Virat <virat.patil@capgemini.com>wrote:

> Set data of your Dropdownlist by overriding the set data  method of item
> renderer.
>
> -----Original Message-----
> From: vijendra sainy [mailto:viju18445@gmail.com]
> Sent: Thursday, May 22, 2014 11:38 AM
> To: users@flex.apache.org
> 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.
>



-- 
Regards,
*Vijendra Sainy*

*http://www.riamagic.blogspot.com/* <http://www.managementvj.blogspot.com/>
*http://www.managementvj.blogspot.com/
<http://www.managementvj.blogspot.com/>*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message