1 Reply Latest reply on Jun 9, 2008 12:01 PM by Donna Stewart

    Question for  AdvancedDataGrid?

    mark416 Level 1
      Hi,

      I did a AdvancedDataGrid without grouping,it works fine.

      <mx:AdvancedDataGri d x="8" y="72" width="558" height="247"
      rowCount="4" dataProvider= "{modelLocator. QModel}" >

      <mx:columns>
      <mx:AdvancedDataGri dColumn headerText=" Name" dataField="Name" />
      <mx:AdvancedDataGri dColumn headerText=" Current Status"
      dataField="TypeName "/>
      </mx:columns>
      </mx:AdvancedDataGr id>


      But it shows nothing with group feature. I check the syntax but it
      seems ok. do you know why this happen. Thanks


      <mx:AdvancedDataGri d x="8" y="72" width="558" height="247"
      rowCount="4" >

      <mx:dataProvider>
      <mx:GroupingCollect ion id="gc1" source="{modelLocat or.QModel} ">
      <mx:Grouping>
      <mx:GroupingField name="TypeName" />
      </mx:Grouping>
      </mx:GroupingCollec tion>
      </mx:dataProvider>



      <mx:columns>
      <mx:AdvancedDataGri dColumn headerText=" Name" dataField="Name" />
      <mx:AdvancedDataGri dColumn headerText=" Current Status"
      dataField="TypeName "/>
      </mx:columns>
      </mx:AdvancedDataGr id>

      Thanks in advance

      Mark