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

pageable: { pageSizes: true }

2 Answers 141 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Paweł
Top achievements
Rank 2
Paweł asked on 12 Jul 2012, 01:42 PM
Hi, I question whether pageable parameter: {pageSizes: true} it is possible to give individual values? Currently there are 5, 10, 20, and I need 25, 50, 100. I searched the documentation, but for now there is no information about this parameter.

Regards/Pozdrawiam,
PaweĊ‚ Kasztelan

2 Answers, 1 is accepted

Sort by
0
Vesselin Obreshkov
Top achievements
Rank 2
answered on 12 Jul 2012, 01:54 PM
Try pageSizes: [25, 50, 100]. In the MVC Helpers, the PageSizes() method takes an array. I assume it's the same with straight JS initialization..
0
Paweł
Top achievements
Rank 2
answered on 12 Jul 2012, 02:00 PM
Thanks a lot. It works.
Tags
Grid
Asked by
Paweł
Top achievements
Rank 2
Answers by
Vesselin Obreshkov
Top achievements
Rank 2
Paweł
Top achievements
Rank 2
Share this question
or