Docs
API
  • getPages(): Number

    Returns number of pages.
    It is used only for paging.

    Example:

    
    var grid = new FancyGrid({
      ...
      paging: {
        barType: 'none'
      }
      ...
    ...
    var pages = grid.getPages();
    

    See also

    Method firstPage
    Method getPage
    Method getPageSize
    Method lastPage
    Method nextPage
    Method prevPage
    Method setPage
    Method setPageSize

    Doc link Paging
    Tutorial link Paging
    Tutorial link Server Paging