Events dispatched by the GridView component.

Available since

1.0.0

.

See also:

Static variables

@:value("cellTrigger")staticinlineread onlyCELL_TRIGGER:EventType<GridViewEvent<GridViewCellState>> = "cellTrigger"

The GridViewEvent.CELL_TRIGGER event type is dispatched when a cell renderer is clicked or tapped.

Available since

1.0.0

.

@:value("headerTrigger")staticinlineread onlyHEADER_TRIGGER:EventType<GridViewEvent<GridViewHeaderState>> = "headerTrigger"

The GridViewEvent.HEADER_TRIGGER event type is dispatched when a header renderer is clicked or tapped.

Available since

1.0.0

.

Static methods

staticdispatchForCell(dispatcher:IEventDispatcher, type:String, state:GridViewCellState):Bool

Dispatches a pooled event with the specified properties.

GridViewEvent.dispatchForCell(component, GridViewEvent.CELL_TRIGGER, state);
Available since

1.0.0

.

staticdispatchForHeader(dispatcher:IEventDispatcher, type:String, state:GridViewHeaderState):Bool

Dispatches a pooled event with the specified properties.

GridViewEvent.dispatchForHeader(component, GridViewEvent.HEADER_TRIGGER, state);
Available since

1.0.0

.

Constructor

new(type:String, state:S)

Creates a new GridViewEvent object with the given arguments.

Available since

1.0.0

.

See also:

Variables

state:S

The current state of the cell or header associated with this event.

Available since

1.0.0

.

Methods