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
Thank you Mike!
I would like to agree with the previous poster - you are the best!
Me.UltraGrid1.DisplayLayout.ViewStyleBand = ViewStyleBand.Vertical
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.
Dear Mike -- Ok, that is cool, and I really do like your docs, they are some of the best in the business, it is just that I wonder about Help File generators (not just yours) and I wish they would perma-link in some way. I think the MS MSDN does handle (at least a little) this by simply have a version switcher in each help topic, etc. Just a idea for a mod for you and your excellent team. Regardless, the docs (and the tools) are really good as-is, so please note that I value your efforts highly. 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