This example demonstrates the public api of the pager component. You can get or set the page index by calling page([number]) function with or without parameter. By calling pageSize([number]) you can get or set the page size of the pager. Calling first(), last(), next() or prev() functions will force the pager component to navigate to the first, last, next or previous page. You can find the gridData.js file content here: gridData.js