Paging

Enable Paging


new FancyGrid({
  paging: true,
  ...

Set PageSize


new FancyGrid({
  paging: {
    pageSize: 20,
    pageSizeData: [5,10,20,50]
  },
  ...

Bar side - tbar


new FancyGrid({
  paging: {
    barType: 'tbar'
  },
  ...

Bar side - both(tbar and bbar)


new FancyGrid({
  paging: {
    barType: 'both'
  },
  ...

Refresh Button


new FancyGrid({
  paging: {
    refreshButton: true
  },
  ...

Bar side - none(for custom paging)


var grid = new FancyGrid({
  paging: {
    barType: 'none'
  },
  ...
...

grid.nextPage();
...
grid.prevPage();
...
grid.setPage(2);
...
grid.firstPage();
...
grid.lastPage();
...
grid.setPageSize(25);
...
grid.getPage();
...
grid.getPageSize();
`