Home Forums WPF controls Xceed DataGrid for WPF Hide de GroupByControl – Codebehind

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #25283 |

    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.

    Ricardo Dorta

    Imported from legacy forums. Posted by Ricardo (had 1867 views)

    Xceed Support
    Member
    Post count: 5658

    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)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.