ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Page Size Drop Down Choices
Title:
B
I
{code}
?
I am trying out the grid control with the page options in the footer including the Page Size drop down. Is there a way to customize the choices in that drop down. Currently the choices are 5, 10, 20 and 50. If I add a PageSize using the `.PageSize(150)` attribute that single page size appears to get added to the drop down. Is there a way to customize the drop down. For example, lets say I wanted choices of 25, 50, 100 and 200.
Save Changes
Cancel
Chuck Howard
asked at 21 Jun 2019
Answers
B
I
{code}
?
yes, in `awem.js` find this code, and modify it: function gridPageSize(o) { if (isMobile()) return; var items = [5, 10, 20, 50];
Save Changes
Cancel
Omu
answered at 21 Jun 2019
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK