It's a bit hard without seeing the full code: http://pastebin.com/
But... It might be worth changing your attributesData.initialize to a function call and perform the layerGroup.refresh() inside that function. But just before that call drop in a break point and debug what the grouping.source is... Just an idea. On 25 February 2010 13:55, Paul Hastings <[email protected]> wrote: > > > 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. > >

