Class: ColumnMove

ColumnMove

ColumnMove plugin - to move column position , Activate this plugin to make columns movable .

new ColumnMove()

Source:

Extends

Members

<static> EventType :string

Events on Plugin
Type:
  • string
Properties:
Name Type Default Description
ON_COLUMN_POSITION_CHANGE string on-column-position-change On Column Position Change
Source:
To Do:
  • Add Before Column Change and After Change event - this will require to pass column which is subject to change it's position as an event parameter

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:

getGrid() → {pear.ui.Grid}

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

init()

init 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: