Hi Guys,
I want to refreh the AdvanceGrid present in one MXML so want the handle of it from 4th file how to get it...
In one mxml I have a AdvancedDatagrid with in the Itemrenderer property of it ,I am calling one GridCloumnItemrenderer.as .., I am able to refersh the advancedgrid inside the GridCloumnItemrenderer.as by getting the handle of it.
But My problem is inside the GridCloumnItemrenderer.as I have one more popup.as inside this popup.as I am having the instance of one more cloneconfig.as NOw from the cloneconfig.as inside this I am calling the clone event so in the callback function of this I have to get the handle of the ADVANCEGRID how can I get the handle of the AdvancedataGrid inside this cloneconfig.as
Can any body please help me in it.
config.mxml
<mx:AdvancedDataGridColumn dataField="actions" headerText="{getString('label.actions')}" width="70"
itemRenderer="com.ci.wmc.manageappliances.renderers.GridCloumnItemrender>
GridCloumnItemrenderer.as has following:
Popups.getInstance().launch(DisplayObject(parentDocument),
Popups.StManageAppliancesCreateCloneConfig);
Popups.as has
instance.map[StManageAppliancesCreateCloneConfig] =CreateCloneConfig;
CreateCloneConfig.as has
new ManageCloneConfigEvent(
hostname,
vo.nodeProject,
vo.nodeVersion,
vo.nodeConfig,
name,
clonedConfig).dispatch();
I want the handle of AdvanceGrid inside the CreateCloneConfig.as ,I want to refresh the AdvanceGrid on the call back of the Event so
I tried (this.owner) it did not work giving some canvas as result.