dojox/grid/enhanced/_Events (version 1.10)

Summary

Overwrite some default events of DataGrid

Methods are copied or replaced for overwriting, this might be refined once an overall plugin architecture is set up for DataGrid.

Usage

var foo = new _Events(inGrid);
dojox/grid/enhanced/_Events
Parameter Type Description
inGrid undefined

Property Summary

  • _eventsMethod map cached from dojox.grid._Events().
  • cellActiveClasscss class to apply to grid content cells when activated(mouse down)
  • headerCellActiveClasscss class to apply to grid header cells when activated(mouse down)
  • rowActiveClasscss class to apply to grid rows when activated(mouse down)

Method Summary

Event Summary

Properties

_events

Method map cached from dojox.grid._Events().

cellActiveClass

css class to apply to grid content cells when activated(mouse down)

headerCellActiveClass

css class to apply to grid header cells when activated(mouse down)

rowActiveClass

css class to apply to grid rows when activated(mouse down)

Methods

dokeyup(e)

Grid key up event handler.

Parameter Type Description
e Event

Un-decorated event object

domousedown(e)
Parameter Type Description
e undefined
domouseup(e)
Parameter Type Description
e undefined

Events

onCellClick(e)

Overwritten, see dojox.grid._Events.onCellClick()

Parameter Type Description
e undefined
onCellDblClick(e)

Overwritten, see dojox.grid._Events.onCellDblClick()

Parameter Type Description
e undefined
onCellMouseDown(e)

Overwritten, see dojox.grid._Events.onCellMouseDown()

Parameter Type Description
e undefined
onCellMouseUp(e)

New - Event fired when mouse is up inside content cell.

Parameter Type Description
e Event

Decorated event object that contains reference to grid, cell, and rowIndex

onHeaderCellClick(e)

Overwritten, see dojox.grid._Events.onHeaderCellClick()

Parameter Type Description
e undefined
onHeaderCellMouseDown(e)

Overwritten, see dojox.grid._Events.onHeaderCellMouseDown()

Parameter Type Description
e undefined
onHeaderCellMouseOut(e)

Overwritten, see dojox.grid._Events.onHeaderCellMouseOut()

Parameter Type Description
e undefined
onHeaderCellMouseUp(e)

New event

Parameter Type Description
e undefined
onKeyDown(e)

Overwritten, see dojox.grid._Events.onKeyDown();

Parameter Type Description
e undefined
onMouseUp(e)

New - Event fired when mouse is up inside grid.

Parameter Type Description
e Event

Decorated event object that contains reference to grid, cell, and rowIndex

onMouseUpRow(e)
Parameter Type Description
e undefined
onRowClick(e)

Overwritten, see dojox.grid._Events.onRowClick()

Parameter Type Description
e undefined
onRowContextMenu(e)

Overwritten, see dojox.grid._Events.onRowContextMenu()

Parameter Type Description
e undefined
onRowMouseUp(e)
Parameter Type Description
e undefined
onRowSelectorMouseDown(e)
Parameter Type Description
e undefined
onRowSelectorMouseUp(e)
Parameter Type Description
e undefined
onSelectedRegionContextMenu(e)

New - Event fired when a selected region context menu is accessed via mouse right click.

Parameter Type Description
e Event

Decorated event object which contains reference to grid and info of selected regions(selection type - row|column, selected index - [...])

Error in the documentation? Can’t find what you are looking for? Let us know!