Skip to content

CellMouseEvent

Cell mouse event (for drag operations, selection, etc.)

PropertyTypeDescription
typemousedown | mousemove | mouseupEvent type: mousedown, mousemove, or mouseup
rowIndex?numberRow index, undefined if not over a data cell
colIndex?numberColumn index, undefined if not over a cell
field?stringField name, undefined if not over a cell
value?unknownCell value, undefined if not over a data cell
row?unknownRow data object, undefined if not over a data row
column?ColumnConfig<any>Column configuration, undefined if not over a column
cellElement?HTMLElementThe cell element, undefined if not over a cell
rowElement?HTMLElementThe row element, undefined if not over a row
isHeaderbooleanWhether the event is over a header cell
cell?CellCoordsCell coordinates if over a valid data cell
originalEventMouseEventThe original mouse event
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt