Row Markers
Last updated
Last updated
Row markers display the current index of the row as well as provide a means to select and reorder rows when configured. Rows markers are always marked as freeze columns and will always display regardless of horizontal scroll position.
rowMarkers
determines whether to display the marker column on the very left. It defaults to none
. Note that this column doesn't count as a table column, i.e. it has no index, and doesn't change column indexes.
This property is used to set the starting index for row markers in a React component. The rowMarkerStartIndex
accepts a numerical value that specifies the initial index from which the row markers in the data grid will begin counting. By default, this value is set to 1
. This property is particularly useful when you need the row numbering to start from a specific value other than the default, such as when displaying paginated data or aligning with an external data set's indexing.
The rowMarkerTheme
overrides the theme used for the row marker column. This is commonly used to tint the background of the row marker row and sometimes to fade them out a bit.
rowMarkerWidth
is the width of the marker column on the very left. By default, it adapts based on the number of rows in your data set.