Hi, I am looking for a way to hide headers in an UltraDropDown. I have a single column UltraDropDown and when it is expanded I want the values in the column to appear, but not the header of the column (so I just want it to look like a ComboBox). Is there a setting to hide the header row in an UltraDropDown?
Regards,
Albert
Hi Albert,
You would do this the same way in the grid, combo, or dropdown:
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { e.Layout.Bands[0].ColHeadersVisible = false; }
I don't know if it has anything to do with my version (I am currently using v9.1 of the controls), but this solution is absolutely not working for me. Rather than hiding the header of the UltraDropDown, this just hides the header caption text and makes the header un-clickable. The header itself is still visible.
As you might guess, this is actually worse than not hiding it, because it is no longer functional.
You are probably experiencing the same bug described here: Hidding Colum Header in UltraGrid and UltraComboEditor (Version 9.1.) - Infragistics Community
This bug is fixed in the latest service release.