Hi in my main application I have a advanceddatagrid
and the code is:
<mx:AdvancedDataGrid id="advnGrid" width="100%" height="100%">
<mx:dataProvider>
<mx:HierarchicalData id="advDataGrid" source="{one}/>
</mx:dataProvider>
<mx:columns>
<mx:AdvancedDataGridColumn dataField="Region"/>
</mx:columns>
</mx:AdvancedDataGrid>
now with an event in an external component I tried to set a new
dataprvider like this:
mx.core.Application.application.controlPanel.advDataGrid.source = tree;
mx.core.Application.application.controlPanel.cntrlGrid.dataProvider =
mx.core.Application.application.controlPanel.advDataGrid;
mx.core.Application.application.controlPanel.cntrlGrid.validateNow();
But it does not change the advanced datagrid content. Where am I make
the mistake?
Regards....