I have a data grid that I would like to display totals for. I would like to display the totals of certain columns at the bottom in a seperate row. I still need to be able to sort with and keep the totals at the bottom.
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"> <mx:DataGrid id="datagrid1" > <mx:Model id="TestSource" source="test.xml"/> <mx:dataProvider>{TestSource.testinfo}</mx:dataProvider> <mx:columns> <mx:Array> <mx:DataGridColumn headerText="name" columnName="name" /> <mx:DataGridColumn headerText="age" columnName="age" /> <mx:DataGridColumn headerText="weight" columnName="weight" /> </mx:Array> </mx:columns> </mx:DataGrid> </mx:Application> <test> <testinfo> <name>name 1</name> <age>32</age> <weight>200</weight> </testinfo> <testinfo> <name>name 2</name> <age>40</age> <weight>100</weight> </testinfo> <testinfo> <name>name 3</name> <age>23</age> <weight>150</weight> </testinfo> <testinfo> <name>name 2</name> <age>55</age> <weight>330</weight> </testinfo> </test> ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/