configures the paging with toolbar mode
| navButtons | boolean | enables/disables navigation buttons |
| navLabel | boolean | enables/disables a navigation label |
| pageSelect | boolean | enables/disables a page selector |
| perPageSelect | boolean|array | enables/disables a rows-per-page selector. If the parameter is specified as an array, it defines options of the dropdown list. |
Available only in PRO Edition
//disables the page selector mygrid.setPagingWTMode(true,true,false,true); //disables the row-per-page selector mygrid.setPagingWTMode(true,true,true,false); //defines options of the row-per-page selector: 30 rows per page, 60 rows per page,etc. mygrid.setPagingWTMode(true,true,true,[30,60,90,120])
the method must be called BEFORE the enablePaging() call
Back to top