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

Grid - Pager & PageSize DropDown

1 Answer 235 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Wayne Mather
Top achievements
Rank 1
Wayne Mather asked on 10 May 2017, 02:51 AM
Hi,

The company I am working for needs to move from an OpenSource grid to one with Commercial Backing and better Filtering/Grouping.

Telerik UI has been chosen on the short list and while it provides everything we need, I am unable to find any options to modify the .

Is it easy from the HtmlHelper to have a Drop-down on the Pager to select a  pagesize and optionally show all the pages? We would be using the grid with InLine editing mode enabled. NOTE: I understand all pages can be calculated but would be a better UX if the option said All.

For Example Page Sizes: 10, 25, 50, ALL

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 10 May 2017, 03:25 PM
Hello,

Page sizes drop down containing “all” as option can be set with following declaration: 
.Pageable(x => x.PageSizes(new List<object> { 10, 25, 50, "all" }).Refresh(true))

Regards,
Pavlina
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Wayne Mather
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or