GridCellProps
Represents the props of the GridCell component (more information).
Name | Type | Default | Description |
---|---|---|---|
ariaColumnIndex |
|
The index to be applied to the | |
cells? |
|
Defines a set of custom cell components that the Grid will render instead of the default cell. | |
className? |
|
The custom CSS classes of the cells. | |
colSpan? |
|
The column span of the cell. | |
columnIndex? |
|
The index of the column in the rendered columns collection. Optional. | |
columnsCount? |
|
The total number of rendered columns in the Grid. Optional. | |
dataIndex |
|
The zero-based index of the data item in the data collection. | |
dataItem |
|
The data item which corresponds to the current row. | |
editor? |
|
Specifies the type of editor to be used when the cell is in edit mode.
Supported values are | |
expanded? |
|
The expanded value of the cell. | |
field? |
|
The field to which the cell is bound. | |
format? |
|
The format that is applied to the value before the value is displayed.
Takes the | |
isAlt? |
|
Indicates if the cell is alt. | |
isSelected |
|
Indicates if the cell is selected. | |
isSorted? |
|
Indicates if the cell is sorted. | |
onChange? |
|
Triggered when the cell value is changed. Provides details about the change event. | |
onContextMenu? |
|
Triggered when the ContextMenu is activated on the cell. Provides the event object, data item, and field name. | |
render? |
|
A function to override the default rendering of the cell. Accepts the default rendering and props as arguments and returns a React element. | |
rowType? |
|
Specifies the type of the row (e.g., data row, group header, etc.). Optional. | |
selectionChange? |
|
Triggered when the cell is selected. Provides the event object. | |
style? |
|
The styles for the cell. |