1771 Technologies Logo

Initial Grid State

ComponentsProvidedProps<T>

Configuration for component renderers used within the grid, allowing customization of rendering behavior for various grid components.

Type parameters

Type parameter
T

Properties

PropertyTypeDescription
columnHeaderGroupCollapsedRenderer?null | (p) => ReactNodeCustom renderer for collapsed column group headers. This renderer is invoked when a column group header is in its collapsed state and needs rendering.
columnHeaderGroupExpansionRenderer?null | (p) => ReactNodeCustom renderer for expanding column group headers. This renderer is called when a column group header needs to render its expanded state.
columnMovePlaceholder?null | (p) => ReactNodeCustom renderer for displaying a placeholder when columns are being moved. This renderer provides a visual representation of where a column will be placed during a drag operation.
detailCellCanvasDrawFunc?null | (p) => voidCustom drawing function for rendering detail cells on a canvas grid. This function is called to draw the visual representation of detail cells when the canvas rendering mode is used.
detailCellRenderer?null | (p) => ReactNodeCustom renderer for detail cells when row details are enabled. This renderer is called for rows that have additional detail data to display when the detail is expanded.
headerSortIconRenderer?null | (p) => ReactNodeCustom renderer for the sort icon within a column header. This renderer is used to display the current sorting state of the column.
resizePlaceHolder?null | (p) => ReactNodeCustom renderer for displaying a placeholder during the resizing of columns. This renderer is used to show a visual indication of the new column size during a drag operation.