Sign in to follow this  
Guest Basundhara Ghosal

Refresh for FusionWidget as ItemRenderer in AdvancedDataGrid

Recommended Posts

First, an apology for my poor English




I am creating an application that uses a fusionwidget as itemrenderer in an AdvancedDataGrid. But because components are reused in flex, the data is not refreshed to collapse and expand the branch. If I call the method FCRender () in the event "show" of the itemrenderer this becomes very slow.






Any suggestions to optimize this?




Here a sample code.




This is the itemRenderer:



<?xml version="1.0" encoding="utf-8"?>

<mx:HBox xmlns:mx="" horizontalAlign="center" verticalAlign="middle" xmlns:ns1="com.fusionwidgets.components.*" show="showWidget()">

<ns1:FusionWidgets id="widget" height="20"   width="250"   visible="false" />



		import mx.states.RemoveChild;


		import com.fusionwidgets.components.FusionWidgets;

		override public function set data(value:Object):void {  = value;

               //only for leafs

               if(value != null&&!value.hasOwnProperty("GroupLabel"))  {                	











           private function showWidget():void{











This is the code in the Application:



<mx:AdvancedDataGrid id="adg1" designViewDataType="flat" width="95%" height="95%" initialize="gc.refresh()"  disclosureClosedIcon="@Embed(source='assets/plus20.png')" disclosureOpenIcon="@Embed(source='assets/minus20.png')" folderClosedIcon="{null}" folderOpenIcon="{null}" defaultLeafIcon="@Embed(source='assets/arrowrightblue20.png')" variableRowHeight="true" styleName="MyDataGrid" >


       <mx:GroupingCollection id="gc" source="{arrData}">



               	<mx:GroupingField name="first"/>

                   <mx:GroupingField name="second"/>

                   <mx:GroupingField name="third"/>                       






    <mx:AdvancedDataGridColumn dataField="grouping" headerText="First/Second/Third/Some" wordWrap="true" paddingLeft="5" paddingRight="5"/>			

	<mx:AdvancedDataGridColumn dataField="some" headerText="Some" width="160" textAlign="center" minWidth="160"/>

	<mx:AdvancedDataGridColumn headerText="Graphic"  width="260" itemRenderer="MyFusionWidgetsItemRenderer" />




Edited by Guest

Share this post

Link to post
Share on other sites
Guest Basundhara Ghosal


Welcome to FusionCharts forum. :)

Currently our development team is working on it and will get back to you as soon as possible.

Share this post

Link to post
Share on other sites
Guest Basundhara Ghosal


We apologize for the inconvenience.

Ou development team has tested the issue in our lab and is not able to replicate the it.

Could you please send us the entire code that you are using for the same along "arrData" so that they might re-test the issue in our lab?

Awaiting your reply. :hehe:

Share this post

Link to post
Share on other sites
Guest Basundhara Ghosal



FusionMaps for Flex is now out of Beta.


We are happy to release FusionMaps for Flex v1.0 - animated, interactive and dynamic maps for your Adobe Flex Solutions.


FusionMaps for Flex boasts of the following:


* Provides over 314 maps including all continents, countries, US states, and states/counties of a lot of other countries.

* Supports dynamic-resizing.

* API for Drill-down, mouse interactivity, export etc.

* Custom Markers, shapes, connector lines.

* Works with Flex Builder 2, Flex Builder 3 and Flash Builder 4 (Flex SDK 2/3/4).

* Simple copy-paste style installation.

* Lots of code samples and extensive documentation.



You may download the beta from


You may see the online demos at : or


You may see all the map using our interactive Map Explorer.


To read more on how to use FusionMaps for Flex, you may also visit the Online Documentation at


Your feedback is VERY important to us and we would love to hear any suggestions, complaints, modifications, feature requests, compliments etc.


Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this