Check out AdvancedDataGrid in Moxie

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of baiju
Sent: Thursday, September 13, 2007 6:41 AM
To: [email protected]
Subject: [flexcoders] Displaying DataGrid totals

 

I am new to flex 2 and was wondering if anyone have a custom component
to display the totals of DataGridColumn in the last row.
I am using a custom component myself as shown in the following example
but was looking for a cleaner implementation as this one is a bit buggy.

<comm:FooterDataGrid height="360" dataProvider="{productlist}">
<comm:columns>
<comm:FooterDataGridColumn headerText="price" dataField="price">
<mx:DataGridColumn headerText="totalPrice"/>
</comm:FooterDataGridColumn>
<comm:FooterDataGridColumn headerText="quantity" dataField="qty">
<mx:DataGridColumn headerText="totalQuantity"/>
</comm:FooterDataGridColumn>
</comm:columns> 
</comm:FooterDataGrid>

Where, FooterDataGrid extends DataGrid and FooterDataGridColumn
extends DataGridColumn.

Thank you,
Baiju.

 

Reply via email to