Gets the current skip parameter of the dataSource. The skip parameter indicates the number of data items that should be skipped when a new page is formed.


Number—The current skip parameter.

Example - get the current page

var dataSource = new{
  data: [
    { name: "Jane Doe" },
    { name: "John Doe" }
  pageSize: 1,
  page: 2
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(dataSource.skip()); // displays "1"
In this article