TreeListPropsPremium
Represents the props of the KendoReact TreeList component.
Name | Type | Default | Description |
---|---|---|---|
cellRender? |
|
Triggered before a cell is rendered. Useful for customizing the cell rendering. | |
className? |
|
Adds custom CSS classes to the TreeList container element. Example: jsx
| |
columnMenu? |
| ||
columnMenuFilter? |
| ||
columns? |
|
Defines the columns of the TreeList using an array of Example: jsx
| |
columnVirtualization? |
|
Enables column virtualization to improve performance by rendering only visible columns. Example: jsx
| |
data? |
|
Provides the data to be displayed in the TreeList. Example: jsx
| |
dataItemKey? |
|
Sets the unique key for each row in the TreeList. If not set, the row index is used. Example: jsx
| |
editField? |
|
Specifies the name of the field which will provide a Boolean representation of the edit state of the current item. | |
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? |
|
Specifies the current filter descriptors for the TreeList. | |
filterRow? |
|
If set, it will be rendered instead of the default | |
headerCellRender? |
|
Triggered before a header cell is rendered. Useful for customizing the header cell rendering. | |
id? |
|
Specifies the Example: jsx
| |
navigatable? |
|
Enables keyboard navigation for the TreeList. | |
noRecords? |
|
Represents the component that will be rendered when the | |
onColumnMenuFilterChange? |
| ||
onColumnReorder? |
|
Triggered when columns are reordered. | |
onColumnResize? |
|
Triggered when a column is resized. | |
onDataStateChange? |
|
Triggered when the data state changes. The event must be handled to apply the new state. | |
onExpandChange? |
|
Triggered when the user clicks on the expand or collapse icon of a row. | |
onFilterChange? |
|
Triggered when the filter state changes. The event must be handled to apply filtering. | |
onHeaderSelectionChange? |
|
Triggered when the user clicks the checkbox of a column header whose | |
onItemChange? |
|
Triggered when the user changes the values of the item.
The event is not debounced and fires on every | |
onKeyDown? |
|
Triggered when the user presses a keyboard key. | |
onPageChange? |
|
Triggered when the page state changes. The event must be handled to apply paging. | |
onRowClick? |
|
Triggered when the user clicks a row. | |
onRowContextMenu? |
|
Triggered when the user opens the context menu of a row. | |
onRowDoubleClick? |
|
Triggered when the user double clicks a row. | |
onRowDrag? |
|
Triggered when a row is dragged. | |
onRowDrop? |
|
Triggered when a row is dragged and dropped. | |
onSelectionChange? |
|
Triggered when the user selects or deselects a row or cell. | |
onSortChange? |
|
Triggered when the sorting state changes. The event must be handled to apply sorting. Example: jsx
| |
pager? |
|
Specifies the pager component to be used by the TreeList. | |
reorderable? |
|
Enables column reordering by dragging their header cells. | |
resizable? |
|
Enables column resizing by dragging the edges of their header cells. | |
row? |
|
Specifies the row component to be used by the TreeList. | |
rowDraggable? |
|
Enables row dragging and dropping. | |
rowHeight? |
|
Specifies the height of each row in the TreeList. | |
rowRender? |
|
Triggered before a row is rendered. Useful for customizing the row rendering. | |
scrollable? |
|
Defines the scroll mode of the TreeList. The available options are:
Requires you to set the
Requires you to set the | |
selectable? |
|
Configures the selection settings for the TreeList. | |
selectedField? |
|
Specifies the name of the field which will provide a Boolean representation of the selected state of the item. | |
skip? |
|
Specifies the number of records to be skipped. | |
sort? |
|
Specifies the current sorting descriptors for the TreeList. Example: jsx
| |
sortable? |
|
Enables sorting functionality for the TreeList. Example: jsx
| |
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? |
|
Specifies the number of records to be taken. | |
toolbar? |
|
Represents the TreeList toolbar component. |