GridElementEvents
Mixin
Mixin for Grid that handles dom events. Some listeners fire own events but all can be chained by features. None of the functions in this class are indented to be called directly.
See Grid for more information on grid keyboard interaction.
See also
- Grid - The Grid widget
- GridNavigation - Cell navigation mixin
Configs
Configs are options you supply in a configuration object when creating an instance of this class-
Set to
trueto listen for CTRL-Z (CMD-Z on Mac OS) keyboard event and trigger undo (redo when SHIFT is pressed). Only applicable when using a StateTrackingManager.Has a corresponding runtime enableUndoRedoKeys property.
-
A CSS class to add to hovered row elements
-
Time in ms until a longpress is triggered
Has a corresponding runtime longPressTime property.
Properties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of GridElementEvents class, or subclass thereof.
-
Identifies an object as an instance of GridElementEvents class, or subclass thereof.
-
Set to
trueto listen for CTRL-Z (CMD-Z on Mac OS) keyboard event and trigger undo (redo when SHIFT is pressed). Only applicable when using a StateTrackingManager.Has a corresponding enableUndoRedoKeys config.
-
The currently hovered grid cell
-
Time in ms until a longpress is triggered
Has a corresponding longPressTime config.
Functions
Functions are methods available for calling on the class-
initInternalEvents( )private
Init listeners for a bunch of dom events. All events are handled by handleEvent().