Class: Pager

Pager

Pager plugin is full featured plugin - Just add this plugin to enable paging features on the Grid
  • Navigation of Next and Previous Page
  • Jump to any page - this is enabled by pager dropdown
  • On Change of Datasource ,e.g when filters are updated , row counts are updated

new Pager()

Source:

Extends

Methods

disable(grid)

disable the plugin
Parameters:
Name Type Description
grid pear.ui.Grid
Inherited From:
Source:

disposeInternal()

Source:

enable(grid)

enable the plugin
Parameters:
Name Type Description
grid pear.ui.Grid
Inherited From:
Source:

getClassId()

Source:

getElement() → {Element}

Get Element
Source:
Returns:
Type
Element

getGrid() → {pear.ui.Grid}

Get Instance of Grid , on which this plugin is registered
Inherited From:
Source:
Returns:
Type
pear.ui.Grid

getNavigationControls() → {?Array.<goog.ui.Control>}

Navigation Controls (goog.ui.Control) [left,right]
Source:
Returns:
Navigation Controls
Type
?Array.<goog.ui.Control>

getPagerDropdown() → {goog.ui.ComboBox}

get the pager dropdown
Source:
Returns:
pager dropdown
Type
goog.ui.ComboBox

init()

init
Source:

isEnabled(gridObject) → {boolean}

Is plugin enabled ?
Parameters:
Name Type Description
gridObject pear.ui.Grid
Inherited From:
Source:
Returns:
Type
boolean

registerGrid(grid)

Parameters:
Name Type Description
grid pear.ui.Grid
Inherited From:
Source:

unregisterGrid(grid)

disabling the plugin from the grid , this will call disable on the Plugin
Parameters:
Name Type Description
grid pear.ui.Grid
Inherited From:
Source: