Results:
Loading...

JavaScript Data GridGrid Events

This is a list of all the events that the grid raises.

You register callbacks for these events through the GridOptions interface. The name of the callback is constructed by prefixing the event name with on. For example, the callback for the cellClicked event is gridOptions.onCellClicked.

const gridOptions = {
     // Add event handlers
     onCellClicked: (event: CellClickedEvent) => console.log('Cell was clicked'),
 }

TypeScript users can take advantage of the events' interfaces. You can construct the interface name by suffixing the event name with Event. For example, the cellClicked event uses the interface CellClickedEvent. All events support generics. See Typescript Generics for more details.

Registering via Grid Options

Registering the event onto the grid component as shown above is the recommended way. However additionally a callback can be put on the Grid Options, if you are using a Grid Options object. The name of the callback is constructed by prefixing the event name with on. For example, the callback for the cellClicked event is gridOptions.onCellClicked.

const gridOptions = {
     // Add event handlers
     onCellClicked: (event: CellClickedEvent) => console.log('Cell was clicked'),
 }

List of Events

The following are all events emitted by the grid. If using TypeScript, you can reference the interface for each event.

Accessories

Clipboard

See Clipboard for more information.

See: Clipboard Events
See: Clipboard Events
See: Clipboard Events
See: Clipboard Events

Columns

Components

See Components for more information.

Editing

See Cell Editing for more information.

See: Read Only Edit
See: Full Row Editing
See: Full Row Editing
See: Full Row Editing
See: Undo / Redo Events
See: Undo / Redo Events
See: Undo / Redo Events
See: Undo / Redo Events
See: Delete Range
See: Delete Range

Filtering

See Filtering for more information.

See: Advanced Filter

Integrated Charts

See Integrated Charts Events for more information.

Keyboard Navigation

See Keyboard Navigation for more information.

See: Keyboard Events

Miscellaneous

Pagination

See Row Pagination for more information.

Row Drag and Drop

See Row Dragging for more information.

Row Grouping

See Row Grouping for more information.

Row Pinning

See Row Pinning for more information.

RowModel: Client-Side

See Client-Side Row Model for more information.

RowModel: Server-Side

See Server-Side Row Model for more information.

Selection

See Selection Overview for more information.

Sorting

See Row Sorting for more information.

Tooltips

See Tooltip Component for more information.