views:

44

answers:

1

I have a scenario in which i want to show hide multiple datagrid columns at the same time based on a user selection. I can write a click handler for the button and hide all columns one by one but I don't want to do that instead I want to group certain columns and in my click handler want to be able to hide the complete group in one go. Is that possible? I haven't been able to find an example of it.

A: 

The AdvancedDataGridColumnGroup has a "visible" property, so you can just set that to false.

Robusto