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

[Solved] Pager questions

1 Answer 103 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pratap
Top achievements
Rank 1
Pratap asked on 03 May 2011, 07:17 PM
Hi, I have a grid with a numerical, prev next and drop down pager.

  1. Is it possible to restrict the maximum number of pages showing in a numerical pager?  The default seems to be 10 and I can't see where to change it.
  2. Is it possible to change the values that display in the drop down in a pager?  Currently, the values are 5, 10, 20, 50.  Are these numbers configurable?



--MG

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 04 May 2011, 09:12 AM
Hello Wayne Vanderkaden,

Straight to your questions:

1. I'm afraid that this is not currently possible.
2. You may specify the values in the pageSize dropdown by using the PageSize method passing an int array with the values as second parameter:

.Pageable(paging => paging.Style(GridPagerStyles.NextPreviousAndDropDown).PageSize(3, new[]{ 1,2,3,4,5}))

All the best,
Rosen
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
Grid
Asked by
Pratap
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or