Hi,
I want to hide all column header (i mean where the name of the column is shown).
I want just the table's content with out the column top header.
Hope i make myslef clear enoght for you guys to understand me.
Thanx in advance,
Gili
Hello sfrierdi,
You could use the following code for the UltraGrid:
ultraGrid1.DisplayLayout.Bands[Desired Band Index].ColHeadersVisible = false;
Another way would be using the IntializeLayout event of your UltraGrid and use the same approach:
void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { e.Layout.Bands[0].ColHeadersVisible = false; }If you have any other questions with this matter please feel free to ask.
How about showing some source code when you answer a question
For each band whose column headers you want to hide, set that band's ColHeadersVisible property to false.