Check documentation for the latest version of dhtmlxSuite setPagingWTMode DHTMLX Docs

setPagingWTMode

configures the paging with toolbar mode

void setPagingWTMode(boolean navButtons,boolean navLabel,boolean pageSelect,boolean|array perPageSelect);
navButtonsbooleanenables/disables navigation buttons
navLabelbooleanenables/disables a navigation label
pageSelectbooleanenables/disables a page selector
perPageSelectboolean|arrayenables/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

Example

//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])

Details

the method must be called BEFORE the enablePaging() call

Back to top