New to KendoReact? Start a free 30-day trial
Hide conditionally the expand icon for some items
Environment
Product Version | 5.14.1 |
Product | Progress® KendoReact Grid |
Description
I want to hide the expand icon for some rows based on a condition from the dataItems values.
Solution
Within the cellRender of the Grid check if the field for the cell is the expand field and use the props.dataItem to return an empty TD element if the condition for the expand icon is not met.
This is an example showcasing this approach:
Change Theme
Theme
Loading ...