GridProps
Represents the props of the KendoReact Grid component.
Name | Type | Default | Description |
---|---|---|---|
ariaLabel? |
|
Deprecated. The accessible label of the Grid. Use (messages) instead. | |
cellRender? |
|
Fires when a cell is about to be rendered. Used to override the default appearance of the cell (see example). | |
cells? |
|
Sets a set of custom components that the Grid will render instead of the built-in cell. | |
children? |
|
Determines the children nodes. | |
className? |
|
Sets a class of the Grid DOM element. | |
clipboard? |
|
When set enables the clipboard copy, cut and paste manipulations. It takes values of type ClipboardSettings or boolean. | |
columnMenu? |
|
Specifies a React element that will be cloned and rendered inside the column menu of the Grid. Can be overridden on column level. | |
columnMenuIcon? |
|
Globally overrides the default(three vertical dots) column menu icon for the whole Grid. If set, the prop can be overridden on column level using the (menuIcon) property. | |
columnVirtualization? |
|
Enables virtualization of the columns. If virtualization is enabled, the columns outside the view are not rendered. | |
data? |
|
Sets the data of the Grid (see example). If you use paging, the | |
dataItemKey? |
|
Sets the Grid row key prop to the value of this field in the dataItem. If not set, the dataItem index will be used for the row key, which might lead to row not updated during paging or scrolling. | |
detail? |
|
Specifies a React element that will be cloned and rendered inside the detail rows of the currently expanded items (see example). An item will be rendered as expanded if the value of its | |
detailRowHeight? |
|
Defines the detail row height and forces an equal height to all detail rows. | |
editField? |
|
Specifies the name of the field which will provide a Boolean representation of the edit state of the current item (more information and examples). | |
expandField? |
|
Specifies the name of the field which will provide a Boolean representation of the expanded state of the item (see example). | |
filter? |
|
The descriptor by which the data is filtered (more information and examples). This affects the values and buttons in the | |
filterable? |
|
Enables the filtering of the columns with their | |
filterCellRender? |
|
Fires when a filter cell is about to be rendered. Overrides the default appearance of the filter cell. | |
filterOperators? |
|
The filter operators for the Grid filters. | |
fixedScroll? |
|
Determines if the scroll position will be updated after data change. If set to | |
group? |
|
The descriptors[] by which the data will be grouped (more information and examples). | |
groupable? |
|
Determines if grouping by dragging and dropping the column headers is allowed (more information and examples). | |
headerCellRender? |
|
Fires when a header cell is about to be rendered. Overrides the default appearance of the header cell. | |
id? |
|
Sets the | |
lockGroups? |
|
Defines if the group descriptor columns are locked (frozen or sticky).
Locked columns are the columns that are visible at all times while the user scrolls the component horizontally.
Defaults to | |
navigatable? |
|
If set to | |
onClipboard? |
|
Fires when clipboard support is enabled and the one of the actions 'copy'. The event accepts type ClipboardDataEvent. | |
onColumnReorder? |
|
Fires when the columns are reordered. | |
onColumnResize? |
|
Fires when a column is resized. | |
onContextMenu? |
|
The event that is fired when the ContextMenu is activated. | |
onDataStateChange? |
|
Fires when the data state of the Grid is changed (more information and example). | |
onExpandChange? |
|
Fires when the user tries to expand or collapse a row. | |
onFilterChange? |
|
Fires when the Grid filter is modified through the UI (more information and examples). You have to handle the event yourself and filter the data. | |
onGroupChange? |
|
Fires when the grouping of the Grid is changed. You have to handle the event yourself and group the data (more information and examples). | |
onHeaderSelectionChange? |
|
Fires when the user clicks the checkbox of a column header whose | |
onItemChange? |
|
Fires when the user changes the values of the item. The event is not debounced and fires on every | |
onKeyDown? |
|
Fires when the user press keyboard key. | |
onNavigationAction? |
|
Fires when Grid keyboard navigation position is changed. | |
onPageChange? |
|
Fires when the page of the Grid is changed (see example). You have to handle the event yourself and page the data. | |
onRowClick? |
|
Fires when the user clicks a row. | |
onRowDoubleClick? |
|
Fires when the user double clicks a row. | |
onScroll? |
|
Fires when Grid is scrolled. | |
onSelectionChange? |
|
Fires when the user tries to select or deselect a row or cell. | |
onSortChange? |
|
Fires when the sorting of the Grid is changed (see example). You have to handle the event yourself and sort the data. | |
pageable? |
|
Configures the pager of the Grid (see example). The available options are:
| |
pager? |
|
The pager component that the Grid will render instead of the built-in pager. It takes values of type null and ComponentType<PagerProps> | |
pageSize? |
|
Defines the page size that is used by the Grid pager (see example). Required by the paging functionality. | |
reorderable? |
|
If set to | |
resizable? |
|
If set to | |
rowHeight? |
|
Defines the row height and forces an equal height to all rows (see example). | |
rowRender? |
|
Fires when a row is about to be rendered. Overrides the default appearance of the row. | |
scrollable? |
|
Defines the scroll mode that is used by the Grid (see example). The available options are:
| |
selectable? |
|
The Grid selectable settings. | |
selectedField? |
|
Specifies the name of the field which will provide a:
| |
size? |
|
|
Configures the The available options are:
|
skip? |
|
Defines the number of records that will be skipped by the pager (see example). Required by the paging functionality. | |
sort? |
|
The (descriptors) by which the data is sorted. Applies the sorting styles and buttons to the affected columns. | |
sortable? |
|
Enables the sorting for the columns with their | |
style? |
|
Represents the | |
take? |
|
Alias of | |
total? |
|
Defines the total number of data items in all pages (see example). Required by the paging functionality. |