New to KendoReact? Start a free 30-day trial
Hide grouped columns from the Grid
Environment
Product Version | 5.12.0 |
Product | Progress® KendoReact Grid |
Description
I want to hide the columns that I have added to the grouping of the Grid
Solution
Columns in the Grid can be dynamically removed if we have the columns collection stored in the state and we have a way for determining which columns should be added to the columns collection of the Grid. In this example we are adding "show" property to the columns and its value is set to false if within the onDataStateChange event of the Grid there is a group expression with the field of the column.
This is an example showcasing this approach:
Change Theme
Theme
Loading ...