Raj singh
Raj singh

Reputation: 391

How to Hide selected group Column in Kendo Angular 6 Grid,

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

Answers (1)

topalkata
topalkata

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:

EXAMPLE

Upvotes: 1

Related Questions