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

Paging without filter

2 Answers 114 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jerome
Top achievements
Rank 1
Jerome asked on 11 Jan 2013, 08:13 PM
I'm trying to figure out a way to have a RadGridView with paging, but NOT have the RadGridView filter based on the page: but simply jump to the page. And the page count be based on the total number of displayed items (based of course on the size of the window).

There's no happy number for 'items on a page' that I can choose that actually work for everybody, with their different resolutions and such. And letting them set it just makes it more complicated. I'm really just looking for a control that's a lot like the RadDataPager, but just tracks and controls the RadGridView's current top-shown record.

Or, alternatively, the "Pager" control could just let you jump to sections based on the first letter of the items. Like, A, B, C D, etc.

2 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 14 Jan 2013, 10:44 AM
Hello,

The paging is a simple process. You click the next page button and the next <page_size> number of records are set as the ItemsSource of the GridView.  It does not know about columns, rows and so on. Everything happens through the IPagedCollectionView interface. You can find details about the features of the DataPager in our documentation.
 
Although there is not an option to automatically control the page size based on the available space, you could calculate this space yourself and initially assign the appropriate PageSize based on the different resolutions.

I am not sure what do you mean by "to track and control the RadGridView's current top-shown records", would you please clarify?

Regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Jerome
Top achievements
Rank 1
answered on 25 Jan 2013, 07:01 PM
I was looking for RadCollectionNavigator. And I found it!
Tags
GridView
Asked by
Jerome
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Jerome
Top achievements
Rank 1
Share this question
or