EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: devnull on March 08, 2013, 10:09:26 PM



Title: Setting Page List [solved]
Post by: devnull on March 08, 2013, 10:09:26 PM
I cannot seem to override the default pageList, either in the above function, or using the defaults override:

Code:
$.extend($.fn.pagination.defaults.pageList = [2,5,10,25]);

What am I doing wrong ??




Title: Re: Feature Request: Auto Page Size
Post by: stworthy on March 09, 2013, 07:26:42 AM
Try the code below to change the datagrid's page list.
Code:
$.extend($.fn.datagrid.defaults, {
pageList: [2,5,10,25]
});