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.
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
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.
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