Class: HeaderMenu

HeaderMenu

A very basic sample plugin to add Dropdown style menu at each pear.ui.GridHeaderCell

new HeaderMenu()

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:

getCSSClassName() → {string}

get CSS Class for Header Cell Menu UI
Source:
Returns:
[description]
Type
string

getGrid() → {pear.ui.Grid}

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

init()

Initialize plugin
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: