Class: ColumnResizing

ColumnResizing

new ColumnResizing()

Extends

Members

currentHoverCell :Point

the cell location where the cursor is currently

Type:
Inherited From:
Default Value:
  • null

cursor :string

the cursor I want to be displayed

Type:
  • string
Overrides:
Default Value:
  • null

detached :Feature

a temporary holding field for my next feature when I'm in a disconnected state

Type:
Inherited From:
Default Value:
  • null

dragStart :number

the pixel location of the where the drag was initiated

Type:
  • number

dragStartWidth :number

the starting width/height of the row/column we are dragging

Type:
  • number
Default Value:
  • -1

next :Feature

the next feature to be given a chance to handle incoming events

Type:
Inherited From:
Default Value:
  • null

Methods

attachChain()

reattach my child from the detached reference

Inherited From:

detachChain()

disconnect my child

Inherited From:

getCursorName() → {string}

return the cursor name

Returns:
Type
string

getFixedAreaCount(grid) → {number}

Parameters:
Name Type Description
grid Hypergrid
Default Value:
  • -2
Returns:
Type
number

getMouseValue(event) → {number}

get the mouse x,y coordinate

Parameters:
Name Type Description
event MouseEvent

the mouse event to query

Returns:
Type
number

handleDoubleClick(grid, cellEvent)

Parameters:
Name Type Description
grid Hypergrid
cellEvent CellEvent
Overrides:
  • Feature#handleDoubleClick

handleMouseDown(grid, event)

Parameters:
Name Type Description
grid Hypergrid
event Object

the event details

Overrides:
  • Feature#handleMouseDown

handleMouseDrag(grid, event)

Parameters:
Name Type Description
grid Hypergrid
event Object

the event details

Overrides:
  • Feature#handleMouseDrag

handleMouseMove(grid, event)

Parameters:
Name Type Description
grid Hypergrid
event Object

the event details

Overrides:
  • Feature#handleMouseMove

handleMouseUp(grid, event)

Parameters:
Name Type Description
grid Hypergrid
event Object

the event details

Overrides:
  • Feature#handleMouseUp

isEnabled(grid) → {boolean}

Parameters:
Name Type Description
grid Hypergrid
Default Value:
  • -2
Returns:
Type
boolean

isFirstFixedColumn(grid, event)

Parameters:
Name Type Description
grid Hypergrid
event Object

the event details

Inherited From:

isFirstFixedRow(grid, event)

Parameters:
Name Type Description
grid Hypergrid
event Object

the event details

Inherited From:

isFixedColumn(grid, event)

Parameters:
Name Type Description
grid Hypergrid
event Object

the event details

Inherited From:

isFixedRow(grid, event)

Parameters:
Name Type Description
grid Hypergrid
event Object

the event details

Inherited From:

isTopLeft(grid, event)

Parameters:
Name Type Description
grid Hypergrid
event Object

the event details

Inherited From:

overAreaDivider(grid, event) → {number}

returns the index of which divider I'm over

Parameters:
Name Type Description
grid Hypergrid
event Object

the event details

Returns:
Type
number