New to KendoReactStart a free 30-day trial

Hide conditionally the expand icon for some items

Environment

Product Version5.14.1
ProductProgress® 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 ...
In this article
EnvironmentDescriptionSolution
Not finding the help you need?
Contact Support