GridColumnChildrenProps
The type of elements that the children property of the Grid accepts.
Name | Type | Default | Description |
---|---|---|---|
cells? |
|
Specifies a set of cell components that the Grid will render instead of the built-in cell. jsx
| |
children? |
|
A collection of child columns. jsx
| |
className? |
|
Sets custom CSS classes on the column cells. | |
colSpan? |
|
|
Sets the colSpan of the column which will make the row content span over multiple cells. As arguments, it takes either a number or a function that returns a number. jsx
|
columnMenu? |
|
Specifies a React element that will be cloned and rendered inside the column menu of the Grid (see example). jsx
| |
columnType? |
|
|
Sets the type of the column and renders a dedicated column for interaction. jsx
|
contextMenu? |
|
Specifies the context menu settings that will be applied to the column. jsx
| |
editable? |
|
Defines whether the column is editable (more information and examples). jsx
| |
editor? |
|
|
Defines the editor type. Used when the column enters the edit mode (more information and examples). jsx
|
field? |
|
Sets the data field that the column binds to. | |
filter? |
|
|
Defines the filter type that will be rendered inside the filter row. jsx
|
filterable? |
|
|
Defines if a filter UI will be rendered for this column. jsx
|
filterTitle? |
|
Defines the title which will be set to the input element in the filter cell. jsx
| |
format? |
|
Applies a format to the value before display.
Takes the | |
groupable? |
|
|
Determines if the column can be dragged to the group panel. jsx
|
headerClassName? |
|
Sets custom CSS classes on the header cell. | |
headerSelectionValue? |
|
Indicates that the header selection checkbox is checked when | |
hidden? |
|
|
Controls the visibility of the Grid's column. jsx
|
id? |
|
Sets the column id for distinguishing columns (multi header, resize, or keyboard navigation scenarios). Also used as the unique key for rendering cells. If not set, a unique id is generated. | |
locked? |
|
|
Defines if the column is locked (frozen or sticky). Locked columns are the columns that are visible at all times while the user scrolls the component horizontally. jsx
|
media? |
|
Sets the screen size condition that needs to be satisfied for a column to remain visible. If you set the hidden property, the behavior of media is overridden. jsx
| |
menuIcon? |
|
Overrides the default (three vertical dots) column menu icon or the icon set through the ( jsx
| |
minResizableWidth? |
|
|
Sets the minimum resize width (in pixels). |
orderIndex? |
|
|
Determines the column position. Smaller |
props |
|
The props object containing GridColumn properties. | |
reorderable? |
|
|
Enables column reordering when |
resizable? |
|
|
Enables column resizing when |
rowSpannable? |
|
Defines if the cells of the column should be spanned when their values are the same. jsx
| |
sortable? |
|
|
Allows the column headers to be clicked and the jsx
|
title? |
|
Sets the column header text. | |
validator? |
|
The validation method for the edit field when editting is in mode The method arguments are:
Usable when validator depends on more than one field. Supports field paths.
Usable when one validator is used across multiple fields. Returns | |
width? |
|
Sets the width of the column (in pixels). |