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
Hello,
Instead of OutlookGroupBy, set ViewStyleBand to either Horizontal or Vertical.
A description of the available enums are described in the following link:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Infragistics2.Win.UltraWinGrid.v8.2~Infragistics.Win.UltraWinGrid.ViewStyleBand.html
Dear thedukenj --
FYI, that link you posted is dead, as of now.
Just thought you would want to know.
(If your link was once correct, then I should say that it is odd that the Help Docs are not perma-linked.)
HTH.
Thanks.
-- Mark Kamoski
The link points to the v8.2 docs. Since that version is almost 4 years old, it's been replaced by newer versions. Here's an updated link.
http://help.infragistics.com/Help/Doc/WinForms/2013.2/CLR4.0/html/Infragistics4.Win.UltraWinGrid.v13.2~Infragistics.Win.UltraWinGrid.UltraGridLayout~ViewStyleBand.html
Hi Mike,
I am also trying to hide that Drag column header thing. With the new new version of UltraGridView i am lost.
In your document, it says:
' Set the view style to OutlookGroupBy. Without it, group by box won't ' show up.
Me.UltraGrid1.DisplayLayout.ViewStyleBand = ViewStyleBand.OutlookGroupBy
Could you please tell me how to achieve 'without it' - because there is no 'None' option in ViewStyleBand
Thank you,
Helen.
Me.UltraGrid1.DisplayLayout.ViewStyleBand = ViewStyleBand.Vertical
Thank you Mike!
I would like to agree with the previous poster - you are the best!