Hello I have what I think will be a simple question.
I want to hide columns of the datatable that my UltraCombo is bound to but cannot find a property that allows me to do that. In the designer I think I can do it by opening the dialog (clicking that play arrow on the top right) but in code i'm having difficulty.
Also I would like to hide the column header.
Thanks for your help.
Hello,
In order to achieve what you are looking for you could handle the IntializeLayout event of the UltraCombo and set the following there :
private void ultraCombo1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { //Hide a column e.Layout.Bands[0].Columns["Symbol"].Hidden = true; //Hide the column headers e.Layout.Bands[0].ColHeadersVisible = false; }
Hope this helps
Thanks for the response.
Is there anyway to do it at design time in the designer?