Start periodically refreshing the table - stay on current page
time in ms to refresh the table
// Get table
var tableCtrl = ix.api.dom.getControl("<TABLE-GUID>");
// Get table pager
var tablePager = tableCtrl.oPager;
// Reload table every 3000ms
tablePager.autoRefresh(3000);
Load next page.
// Get table
var tableCtrl = ix.api.dom.getControl("<TABLE-GUID>");
// Get table pager
var tablePager = tableCtrl.oPager;
// Next page
tablePager.nextPage();
// With loop: means if it's the last page it goes automatically to the first page again and again
tablePager.nextPage(true);
Load previous page.
// Get table
var tableCtrl = ix.api.dom.getControl("<TABLE-GUID>");
// Get table pager
var tablePager = tableCtrl.oPager;
// Get previous page
tablePager.previousPage();
// With loop: means if it's the first page it goes automatically to the last page again and again
tablePager.previousPage(true);
Control the tables paging.
Example