Friends ,

I hae one problem .Guide me plz.
I have one webservice result and a advanced datagrid control.

Here i need to bind the webservice result to adg.

Here my xml result:
<Table diff.......>
    <yFr>2006</yFr>
    <ySe>2007</ySe>
    <GroupName>Domestic</GroupName>
    <TYr1>1500000000</TYr1>
    <SYr1>258963214</SYr1>
    <TYr2>2000000000</TYr2>
    <SYr2>158963211</SYr2>
</Table>

Here me mxml src for adg:
<mx:AdvancedDataGrid id="adg" width="100%"
dataProvider="{GroupgridResult}"
    <mx:groupedColumns>
         <mx:AdvancedDataGridColumn headerText="GROUP" dataField="GroupName"/
>
               <mx:AdvancedDataGridColumnGroup dataField="yFr" >
                       <mx:AdvancedDataGridColumn dataField="TYr1"
headerText="Target"/>
                       <mx:AdvancedDataGridColumn dataField="SYr1"
headerText="Sales "/>
        </mx:AdvancedDataGridColumnGroup>
        <mx:AdvancedDataGridColumnGroup dataField="ySe">
                       <mx:AdvancedDataGridColumn dataField="TYr2"
headerText="Target"/>
                       <mx:AdvancedDataGridColumn dataField="SYr2"
headerText="Sales"/>
               </mx:AdvancedDataGridColumnGroup>
    </mx:groupedColumns>
</mx:AdvancedDataGrid>


Here me problem is,
When i bind the columnfields TYr1,SYr1,TYr2,SYr2,GroupName it bind
successfully.But when i bind the Header fields it shows me error.How
can i correct that.I need to display the yFr,ySe values are the header
text of my adgColumnGroup.Hope to be clear.Please help me.


Regards,


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to