Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
205
Hide a column header
posted

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

Parents
  • 195
    Verified Answer
    posted

     

    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

Reply Children