i have a flex (3.5 SDK) advanced datagird that works fine in the app's
main layout but when moved into a popup titlewindow it won't fill with
data. a normal datagrid in the same titlewindow component using the
same datasource works fine.
component creation & data passed in:
idResultWindow=IdentifyResultWindow(PopUpManager.createPopUp(this,IdentifyResultWindow,false));
idResultWindow.dataSource=featureAttributes;
datagrid in question (in idResultWindow):
<mx:AdvancedDataGrid x="10" y="10"
id="attributesData"
initialize="layerGroup.refresh();"
width="100%" height="100%">
<mx:dataProvider>
<mx:GroupingCollection id="layerGroup" source="{dataSource}">
<mx:grouping>
<mx:Grouping>
<mx:GroupingField name="layer"/>
</mx:Grouping>
</mx:grouping>
</mx:GroupingCollection>
</mx:dataProvider>
<mx:columns>
<mx:AdvancedDataGridColumn headerText=""
dataField="attribute"/>
<mx:AdvancedDataGridColumn headerText=""
dataField="value"/>
</mx:columns>
</mx:AdvancedDataGrid>
gone blind looking thru these few lines of code & now kind of stumped,
anyone have any ideas?
thanks.