GridProps
Represents the props of the KendoReact Grid component.
Name | Type | Default | Description |
---|---|---|---|
ariaLabel? |
|
Deprecated. The accessible label of the Grid. Use (messages) instead. | |
autoProcessData? |
|
|
Enables data-processing inside the GridComponent based on its state. Provides an easy, built-in way to handle data operations like sorting, filtering, grouping, and paging. jsx
|
cellRender? |
|
Fires when a cell is about to be rendered. Used to override the default appearance of the cell (see example). | |
cells? |
|
Defines a set of custom cell components that the Grid will render instead of the default cells. jsx
| |
children? |
|
Determines the children nodes. | |
className? |
|
Sets a class for the Grid DOM element. jsx
| |
clipboard? |
|
Enables clipboard copy, cut, and paste manipulations. Accepts jsx
| |
columnMenu? |
|
Specifies a React element that will be cloned and rendered inside the column menu of the Grid. jsx
| |
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. | |
columnsState? |
|
The collection of column states of the grid. jsx
| |
columnVirtualization? |
|
Enables virtualization of the columns. If virtualization is enabled, the columns outside the view are not rendered. jsx
| |
contextMenu? |
|
Specifies the context menu settings applied to the Grid. jsx
| |
data? |
|
Sets the data of the Grid (see example). If you use paging, the jsx
| |
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 rows not updating during paging or scrolling. jsx
| |
defaultColumnsState? |
|
The default columns state, used only for the initial load. jsx
| |
defaultDetailExpand? |
|
The default jsx
| |
defaultEdit? |
|
The default jsx
| |
defaultFilter? |
|
The default jsx
| |
defaultGroup? |
|
The default jsx
| |
defaultGroupExpand? |
|
The default jsx
| |
defaultSearch? |
|
The descriptor by which the data is searched by default. Its first FilterDescriptor populates the GridSearchBox. jsx
| |
defaultSelect? |
|
The default jsx
| |
defaultSkip? |
|
The default jsx
| |
defaultSort? |
|
The default jsx
| |
defaultTake? |
|
The default jsx
| |
detail? |
|
Specifies a React element that will be cloned and rendered inside the detail rows of the currently expanded items (see example). jsx
| |
detailExpand? |
|
The descriptor by which the detail row is expanded. jsx
| |
detailRowHeight? |
|
Defines the detail row height and forces an equal height to all detail rows. jsx
| |
edit? |
|
The descriptor by which the in-edit mode of an item is defined. jsx
| |
editable? |
|
The Grid editable settings. jsx
| |
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). jsx
| |
expandField? |
|
Specifies the name of the field which will provide a Boolean representation of the expanded state of the item. 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 jsx
| |
filterable? |
|
Enables filtering for the columns with their jsx
| |
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. jsx
| |
fixedScroll? |
|
Determines if the scroll position will be updated after a data change.
If set to | |
group? |
|
The descriptors[] by which the data will be grouped (more information and examples). jsx
| |
groupable? |
|
Determines if grouping by dragging and dropping the column headers is allowed (more information and examples). jsx
| |
groupExpand? |
|
The descriptor by which the group is expanded. jsx
| |
headerCellRender? |
|
Fires when a header cell is about to be rendered. Overrides the default appearance of the header cell. | |
id? |
|
Sets the jsx
| |
language? |
|
Sets the language of the Grid when used as a server component. Have not effect when the Grid is used as a client component. jsx
| |
loader? |
|
A custom component that the Grid will render instead of the built-in loader. jsx
| |
locale? |
|
Sets the locale of the Grid when used as a server component. Have not effect when the Grid is used as a client component. jsx
| |
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 jsx
| |
navigatable? |
|
If set to jsx
| |
onClipboard? |
|
Fires when clipboard support is enabled, and one of the actions (e.g., copy) is triggered.
Accepts a jsx
| |
onColumnReorder? |
|
Fires when the columns are reordered. jsx
| |
onColumnResize? |
|
Fires when a column is resized. Only fired when the Grid is run as a client component. jsx
| |
onColumnsStateChange? |
|
Fires when the columns state of the Grid is changed. jsx
| |
onContextMenu? |
|
The event that is fired when the ContextMenu is activated. Only fired when the Grid is run as a client component. jsx
| |
onContextMenuItemClick? |
|
The event that is fired when the ContextMenu item is clicked. Only fired when the Grid is run as a client component. jsx
| |
onDataStateChange? |
|
Fires when the data state of the Grid is changed (more information and example). jsx
| |
onDetailExpandChange? |
|
Fires when the user expands or collapses a detail row. jsx
| |
onEditChange? |
|
Fires when the user enters or exits an in-edit mode of a row or cell. jsx
| |
onExpandChange? |
|
Fires when the user tries to expand or collapse a row. | |
onFilterChange? |
|
Fires when the Grid filter is modified through the UI. You must handle the event and filter the data. jsx
| |
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). jsx
| |
onGroupExpandChange? |
|
Fires when the user expands or collapses a group. jsx
| |
onHeaderSelectionChange? |
|
Fires when the user clicks the checkbox of a column header whose jsx
| |
onItemChange? |
|
Fires when the user changes the values of the item. jsx
| |
onKeyDown? |
|
Fires when the user press keyboard key. Only fired when the Grid is run as a client component. jsx
| |
onNavigationAction? |
|
Fires when Grid keyboard navigation position is changed. Only fired when the Grid is run as a client component. jsx
| |
onPageChange? |
|
Fires when the page of the Grid is changed. jsx
| |
onRowClick? |
|
Fires when the user clicks a row. jsx
| |
onRowDoubleClick? |
|
Fires when the user double clicks a row. jsx
| |
onRowReorder? |
|
Fires when the user reorders a row. jsx
| |
onScroll? |
|
Fires when Grid is scrolled. Only fired when the Grid is run as a client component. jsx
| |
onSearchChange? |
|
Fires when the search value of the GridSearchBox is changed. jsx
| |
onSelectionChange? |
|
Fires when the user tries to select or deselect a row or cell. jsx
| |
onSortChange? |
|
Fires when the sorting of the Grid is changed. You must handle the event and sort the data. (see example) jsx
| |
pageable? |
|
Configures the pager of the Grid. Accepts The available options are:
jsx
| |
pager? |
|
The pager component that the Grid will render instead of the built-in pager. It takes values of type null and ComponentType<PagerProps> jsx
| |
pageSize? |
|
Defines the page size used by the Grid pager. Required for paging functionality. jsx
| |
reorderable? |
|
If set to jsx
| |
resizable? |
|
If set to jsx
| |
rowHeight? |
|
Defines the row height and forces an equal height to all rows (see example). jsx
| |
rowRender? |
|
Fires when a row is about to be rendered. Overrides the default appearance of the row. | |
rowReorderable? |
|
Defines the row reorder settings. jsx
| |
rows? |
|
jsx
| |
rowSpannable? |
|
Enables the built-in row span feature of the Grid. jsx
| |
scrollable? |
|
Defines the scroll mode that is used by the Grid (see example). The available options are:
jsx
| |
search? |
|
The descriptor by which the data is searched. Its first FilterDescriptor populates the GridSearchBox. jsx
| |
searchFields? |
|
Defines the fields of the data that are filtered by the GridSearchBox. jsx
| |
select? |
|
The descriptor by which the selected state of an item is defined. Passing a boolean value will select the whole row, while passing an array of strings will select individual. jsx
| |
selectable? |
|
The Grid selectable settings. jsx
| |
selectedField? |
|
Specifies the name of the field which will provide a:
| |
showLoader? |
|
Specifies whether the loader of the Grid will be displayed. jsx
| |
size? |
|
|
Configures the The available options are:
jsx
|
skip? |
|
Defines the number of records that will be skipped by the pager (see example). Required by the paging functionality. jsx
| |
sort? |
|
The (descriptors) by which the data is sorted. Applies the sorting styles and buttons to the affected columns. jsx
| |
sortable? |
|
Enables sorting for the columns with their jsx
| |
style? |
|
Represents the jsx
| |
take? |
|
Alias for the jsx
| |
total? |
|
Defines the total number of data items in all pages. Required for paging functionality. jsx
|