View Full Version : Aggregation Row

1 Mar 2011, 11:42 PM
The Value is not calculated by the data stored in the store.

AggregationRowConfig<Account> totals = new AggregationRowConfig<Account>();
totals.setHtml("user_id", "Total");
totals.setSummaryType("balance", SummaryType.SUM);
totals.setRenderer("balance", new AggregationRenderer<Account>() {
public Object render(Number value, int colIndex,
Grid<Account> grid, ListStore<Account> store) {
return NumberFormat.getFormat("#,##0").format(value);

where value return null.

Data is loaded through RpcProxy.
Data is loaded in grid perfectly.
Only Aggregation row is not calculated.
But data is dispay in Mozila Firefox.