How do I turn off / hide the "Drag a column header...." functionality in an UltraGrid? For many of the grids I am using, it is not needed, and it takes up real estate.
Thanks,Bob
Thank you Mike.
Given solution works for me.
Hi Sudarshan,
Are you just trying to hide the text? Or the entire GroupByBox?
The easiest way to hide the entire GroupByBow is to to set:
this.ultraGrid1.DisplayLayout.ViewStyleBand = ViewStyleBand.Vertical;
This will turn off GroupBy in your grid.
If you are using GroupBy in code, but don't want the user to see the GroupByBox, then you could do this:
this.ultraGrid1.DisplayLayout.GroupByBox.Hidden = true;
If you just want to remove the text, then you could do this:
this.ultraGrid1.DisplayLayout.GroupByBox.Prompt = "";
How do i Hide/visible "Drag a column header here to group by that column" programmatically.
Thank you Mike!
I would like to agree with the previous poster - you are the best!
Me.UltraGrid1.DisplayLayout.ViewStyleBand = ViewStyleBand.Vertical