skip
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.
Returns
Number
—The current skip
parameter.
Example - get the current page
<script>
var dataSource = new kendo.data.DataSource({
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"
</script>