New to KendoReact? Start a free 30-day trial
Define custom expand/collapse cell for the TreeList
Environment
Product Version | 5.12.0 |
Product | Progress® KendoReact TreeList |
Description
I want to define custom cell for the first column and I need the expand/collapse functionality
Solution
For achieving the desired result the custom cell should include logic for rendering the expand/collapse icon based on the props.dataItem.SUB_ITEM_FIELD length, props.expanded value and the level of the current cell. The level length is used for the empty space (based on the current level)
Change Theme
Theme
Loading ...