Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@cascade/pagination

sjohnsonaz53MIT0.0.0TypeScript support: included

Array and Service Pagination powered by Cascade.

datasource, pagination, array, service, cascade, observablearray, reactive, model, mvvm

readme

Cascade Datasource

Build Status npm version

Array and Service Pagination powered by Cascade.

var dataSource = new DataSource<number>((page, pageSize, sortedColumn, sortedDirection) => {
    return DataSource.pageArray(dataArray, page, pageSize, sortedColumn, sortedDirection);
});
dataSource.init();
dataSource.page = 1;