Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.Devices.getTotalDeviceCount().then((count) => {
- this.dataTableOptions.paging.count = count;
- this.Devices.getPage(offset * size, size, this.columnSort).then((set) => {
- // only insert items i don't already have
- set.forEach((r, i) => {
- var idx = i + (offset * size);
- this.Devices.data[idx] = r;
- });
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement