TreeListProps
Represents the props of the KendoReact TreeList component.
Name | Type | Default | Description |
---|---|---|---|
cellRender? |
|
Fires when a cell is about to be rendered. Useful for overriding the default rendering of the cell. | |
className? |
|
Sets custom CSS classes to the TreeList DOM element. | |
columnMenu? |
| ||
columnMenuFilter? |
| ||
columns? |
|
A collection of | |
columnVirtualization? |
|
Enables the virtualization of the columns (see example). If enabled, the columns outside the viewport are not rendered. | |
data? |
|
Sets the data of the TreeList. | |
dataItemKey? |
|
Sets the TreeList 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. | |
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). | |
editRow? |
|
If set and when the data item is in edit mode, the | |
expandField? |
|
Specifies the name of the field which will provide a Boolean representation of the expanded state of the item. | |
filter? |
|
The descriptors by which the data is filtered (more information and examples).
This affects the values and buttons in the | |
filterRow? |
|
If set, it will be rendered instead of the default | |
headerCellRender? |
|
Fires when a header cell is about to be rendered. Useful for overriding the default rendering of the header cell. | |
id? |
|
Sets | |
navigatable? |
|
If set to | |
noRecords? |
|
Represents the component that will be rendered when the | |
onColumnMenuFilterChange? |
| ||
onColumnReorder? |
|
Fires when the columns are reordered. | |
onColumnResize? |
|
Fires when a column is resized. | |
onDataStateChange? |
|
Fires when the data state of the TreeList is changed. | |
onExpandChange? |
|
Fires when the user clicks on the expand or collapse icon of a row. | |
onFilterChange? |
|
Fires when the TreeList filter is modified through the UI (more information and examples). You have to handle the event yourself and filter the data. | |
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. | |
onPageChange? |
|
Fires when the page of the TreeList is changed. | |
onRowClick? |
|
Fires when the user clicks a row. | |
onRowContextMenu? |
|
Fires when the user trigger the context menu of row. | |
onRowDoubleClick? |
|
Fires when the user double clicks a row. | |
onRowDrag? |
|
Fires when a row is dragged. | |
onRowDrop? |
|
Fires when a row is dragged and dropped. | |
onSelectionChange? |
|
Fires when the user tries to select or deselect a row or cell. (more information and example). | |
onSortChange? |
|
Fires when the sorting of the TreeList is changed (see example). You have to handle the event yourself and sort the data. | |
pager? |
|
The pager component that the TreeList will render. | |
reorderable? |
|
If set to | |
resizable? |
|
If set to | |
row? |
|
The TreeList row component. | |
rowDraggable? |
|
If set to | |
rowHeight? |
|
Defines the row height and implements equal heights for all rows. | |
rowRender? |
|
Fires when a row is about to be rendered. Useful for overriding the default rendering of the row. | |
scrollable? |
|
Defines the scroll mode of the TreeList. The available options are:
Requires you to set the
Requires you to set the | |
selectable? |
|
The TreeList selectable settings. | |
selectedField? |
|
Specifies the name of the field which will provide a Boolean representation of the selected state of the item (see example). | |
skip? |
|
The number of records that will be skipped. | |
sort? |
|
The descriptors by which the data is sorted. Applies the sorting styles and buttons to the affected columns. | |
sortable? |
|
Enables sorting (see example). | |
style? |
|
Represents the | |
subItemsField? |
|
Specifies the name of the field which will provide an array representation of the item subitems. | |
tableProps? |
|
A props object that will be passed to the underlying HTML table. | |
take? |
|
The number of records that will be taken. | |
toolbar? |
|
Represents the TreeList toolbar component. |