Declined
Last Updated: 13 Mar 2017 15:13 by ADMIN
Nathan
Created on: 10 Feb 2017 15:17
Category: GridView
Type: Feature Request
1
Auto hide group columns
Can you add a grid-level option to hide any grouped columns automatically (rather than at the column level)?

I've tried creating a attached property behavior to do this (see attached), but it doesn't work well with auto-generated columns.
3 comments
ADMIN
Stefan
Posted on: 21 Feb 2017 14:49
RadGridView provides the AutoGeneratingColumn event for such scenarios. Please, take a look at the Column events topic for more information.

- http://docs.telerik.com/devtools/wpf/controls/radgridview/events/column-resize-event

All the best,
Stefan
Nathan
Posted on: 21 Feb 2017 14:36
That works when I define each column, but for cases where I let the grid auto-generate the columns, how would I do those? It would seem to make sense to follow the same pattern as the IsReadOnly property, which has a grid and column level.
ADMIN
Stefan
Posted on: 21 Feb 2017 14:25
Hello Nathan,

Thank you for providing the setup you are currently using.

The built-in mechanism for such requirements, is to utilize the ShowColumnWhenGrouped property of the column. May I ask you to give it a try? Would its usage be feasible for you?

If further assistance regarding this mechanism is needed, I would kindly ask you to open a new support thread and describe your enquiry in it.

Best Regards,
Stefan