September 6th 2008
Format of SummaryField of an AdvancedDataGrid
I just started using the AdvancedDataGrid with a SummaryRow. The problem was that the numbers in the SummaryFields were not formatted properly, although the numbers in the data object where ‘formatted’ with number.toFixed() and were shown properly in the AdvancedDataGridColumn . Now, there is no formatting property in the SummaryField class.
The easy solution is, to set a NumberFormatter in the formatter property of the AdvancedDataGridColumn object. The SummaryField somehow inherits the format from the AdvancedDataGridColumn .
Here’s a sample application showing the problem and the solution: summaryFormatTest.zip
I wrote a simple app to outline and sent it to you by mail.
Please, give me an example.
Thanks