Check documentation for the latest version of dhtmlxSuite enablePaging DHTMLX Docs

enablePaging

enables smart paging mode

void enablePaging(boolean mode,number pageSize,number pagesInGrp,id|HTMLElement pagingControlsContainer,boolean showRecInfo,id|HTMLElement pagingStateContainer);
modebooleanenable/disable paging mode
pageSizenumbercount of rows per page
pagesInGrpnumbercount of visible page selectors
pagingControlsContainerid|HTMLElementID or container which will be used for showing paging controls
showRecInfobooleanenable/disable showing of additional info about paging state
pagingStateContainerid|HTMLElementID or container which will be used for showing paging state

Available only in PRO Edition

Example

//enable paging with 10 rows per page
myGrid.enablePaging(true,10,5,"pagingArea",true,"recinfoArea");

Back to top