View Full Version : Paging ToolBar with Grouping
14 Aug 2010, 7:39 AM
i use paging ToolBar in my the grid , if i group by any column in this grid and the result displayed in two page the count of the result is wrong , it display only the count of the items in the current page only.
How to fix this issue ? :-/
Are you sure your server returns the correct totalcount?
16 Aug 2010, 7:48 AM
5 items for page
group 1(4 items)
group 2( 1 item)
group 2(1 item)
So how can i fix the count of items
please please i need help on it
So you dont mean the total model count in the pagingtoolbar but the count that gets shown next to the groupname? You control what gets displayed there with the GridGroupRenderer that you added to the GroupingView
16 Aug 2010, 7:54 AM
yes as you said the count shown next to the groupname , but how can i fix it to get all the group item count from DB not from grid
You are showing the number by your own there. Your gridgrouprenderer returns what you show there. Simple return the correct number
16 Aug 2010, 8:42 AM
how to return the correct number ??
Save the correct number for example in every model, so every model has the grouptotalnumber. Than you can access it inside the renderer.
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.