Reputation: 391
I have a requirement in which some selected group columns should be hidden, and rest group columns should display.
How can we achieve it using Kendo ui + Angular 6.
Upvotes: 4
Views: 1155
Reputation: 2098
You can bind the ColumnComponent's hidden
input to an expression that returns the respective boolean value after performing the required custom logic that will determine whether a column should be hidden or not.
The grouping configuration is available in the object the Grid group
input is bound to.
Here is an example that demonstrates hiding all columns the data is grouped by, but ProductName:
Upvotes: 1