RecordDoubleClickEvent
Defines the structure of the event arguments triggered when a row is double-clicked in the grid. Provides contextual information about the target element, cell, row, and associated data, enabling precise handling of double-click interactions within grid components.
Props
The following table outlines the props for the RecordDoubleClickEvent:
| Name | Type | Default | Description |
|---|---|---|---|
| cell | Element | - | The cell element within the row where the double-click occurred. Refers to the HTML element representing the cell, which can be used for styling, attribute inspection, or interaction logic. |
| column | - | The column configuration object associated with the clicked cell. Contains metadata such as field name, header text, formatting rules, and other column-level settings defined in the grid configuration. | |
| columnIndex | number | - | The zero-based index of the clicked cell within its parent row. Indicates the position of the cell in the row, useful for identifying column alignment or applying cell-specific operations. |
| data | T | - | The data object bound to the clicked row. Represents the complete data associated with the row, enabling contextual operations such as editing, selection, or detail expansion. |
| event | MouseEvent<HTMLDivElement> | - | The mouse event triggered by the double-click action. Provides access to event metadata such as cursor position, button state, and the target element, allowing detailed interaction handling. |
| row | Element | - | The row element where the double-click occurred. Refers to the HTML element representing the row, which can be accessed for styling, DOM traversal, or row-level manipulation. |
| rowIndex | number | - | The zero-based index of the clicked row within the grid. Indicates the row's position in the grid's data source, supporting navigation, selection, and programmatic access to row data. |