Show Nbr of Rows and summary in ListGrid

Hi,

We are using showRowNumbers(true) in combination with a ListGrid summary.
When using this combination, a value “1” is shown in the summary grid for the row number column (see screenshot).

Is there a way to overwrite this value? Ideally we want to put the number of records in the summary grid.

Regards,
Bart

grid nbr of rows.jpg

You should be able to do this by manually creating the row number field (it’s just a trivial use of CellFormatter) and adding a custom sum function that just returns grid.getTotalRows().