View Full Version : GroupingStore and PagingToolbar

8 Feb 2011, 9:55 AM
I'm using a GroupingStore in a grid with a PagingToolbar. My problem is, I populate the grid with 2 group objects (which contain 5 objects each) and the paging toolbar displays there are 10 objects instead of 2.

I'm displaying a grid of stores and their employees so I group by the store ID. Let's say there are 2 stores and each store has 5 employees each. That means the grid actually has 10 items in the grid. However, my totalProperty in the reader is seeing 2 (from my JSON object) so the paging toolbar is displaying 'Showing Stores 1 - 10 of 2'.

Is there anyway to get the PagingToolbar (or the store?) to only count the group objects as actually objects in the store?