Hi,
is there any way how to hide a column headers of a grid? I don't want a description of a all columns. Thanks a lot,
Jan
looks like you do this at the band level on the grid.
Can be done via the designer:
Control settings -> ultragrid -> displaylayout then select the band you need to disable for...then ColHeadersVisible =false; (about 10 down)
code wise;
ultraGrid1.DisplayLayout.Bands[0].ColHeadersVisible = false;
where 0 is the index (or string) for your band.
This will disable for all columns within the band. Obviously if you have more than one band then you do it for each (if you want to do that).
Hope this helps.
Rich
what is the syntax for a column in a band to hide just that header?
Me.UltraGrid1.DisplayLayout.Bands(1).ColHeadersVisible = False - this is for all headers, so what if I want to hide column(2) in band 1.
Thanks
Thanks Rich,
that is what I was looking for!