Home › Forums › WPF controls › Xceed DataGrid for WPF › Hide de GroupByControl – Codebehind
I´m trying to set if the groupbycontrol will be visible or not in codebehind before I set the DataSource property of the DataGrid.
That way I cannot clear de Grid.View.FixedHeaders Property, because the view is set to null.
Is there a way to do that?
Thanks for now.
Imported from legacy forums. Posted by Ricardo (had 1867 views)
the default View cannot have its FixedHeaders modified. Just override the default view and you can do anything you’d like with the FixedHeaders.
dataGridControl.View = new TableView();
Imported from legacy forums. Posted by Marcus [Xceed] (had 2879 views)