I am using this code with an external menu item to hide/show the grouping feature of the grid. The grid does not refresh to hide the grouping box at the top of the grid. I also tried the RefreshHeader() with the same result.
GridResults.AllowGrouping = !GridResults.AllowGrouping;
GridResults.Refresh();
StateHasChanged();
Note, VS gives an warning that this property should not be set outside the component.
I also have this same issue with this command: GridResults.PrintMode = PrintMode.AllPages;
In with print, I have two menu items; "Print this page", and "Print all pages". So need to also set these via code behind.
Thanks for the help!