var instance; // Type: wijmo.data.IShape; var value; // Type: number value = instance.pageIndex;
var pageIndex : number;
Default value: null
Determines the index of the currently displayed page, when the paging feature is enabled.
To enable the paging feature, set the allowPaging option to true.
var instance; // Type: wijmo.data.IShape; var value; // Type: number value = instance.pageIndex;
var pageIndex : number;
$(document).ready(function () { var productView = new wijmo.data.ArrayDataView(sourceData()); $("#demo-grid").wijgrid({ data: productView, allowPaging: true });
$("#prevPage").click(function () { productView.pageIndex(productView.pageIndex() - 1); }); $("#nextPage").click(function () { productView.pageIndex(productView.pageIndex() + 1); });