This is a migrated thread and some comments may be shown as answers.

Paging only works on outermost grouping

1 Answer 9 Views
GridView
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 12 Apr 2011, 03:21 AM
Hello, I have an issue where i would like the GridView to only show a certain number of items in the grid per page.  In my case I have a list of Parts and a list of Locations for each part.  The order of the grouping is by Part / Location.  The list of parts is pretty small (say 20), but the list of locations is quite large per part (say 1000) and I would ideally like to show only 30 or so locations under each part per page.  Each corresponding page would show the same part with another 30 locations, and then move to the next part only after all 1000 locations were shown (~34 pages)

IfI set the page size to 20, currently it will show all 20 parts and all locations under each part on the first page because the outermost grouping is by part.  Is there a way to achieve the paging behavior outlined above?

thanks,
david.

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 14 Apr 2011, 12:28 PM
Hello,

 How the grid is bound in your case? If you use WCF RIA Service together with DomainDataSource the group items will be split across pages automatically.  You can check this demo for example. 

Kind regards,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
David
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or