4

Can anyone tell me how to hide the header in DevExpress gridcontrol..?? I'm using C#.. All I want is a matrix of cells with NO header row with captions.

Vignesh
  • 711
  • 4
  • 13
  • 22

5 Answers5

6

According to their support forum, the proper solution is to toggle the OptionsView.ShowColumnHeaders property.

If you set the property to false, the control will no longer display column headers.

Cody Gray - on strike
  • 239,200
  • 50
  • 490
  • 574
4

go the run designer of the grid view, then try to modify the prorety of show groupe panel and make it false.(Feature Browser/grouping/groupe panel/show groupe panel)

Amine Njeh
  • 56
  • 1
3

What kind of DevExpress grid control you are using?
Please, use the following ShowColumnHeaders options:

DmitryG
  • 17,677
  • 1
  • 30
  • 53
  • Does not work for Winforms. There is no GridOptionsView.ShowColumnHeaders property for either a grid or a grid column. – user1040323 Aug 01 '18 at 16:40
2

Set the ShowColumnHeaders property to false.

Joe
  • 122,218
  • 32
  • 205
  • 338
0

I can't see how to do it programatically. For Winforms XtraGrid.

Run the designer. (by clicking on the control in design view, then clicking on the tiny black triangle)

Under Options, expand OptionsView. Within Options.OptionsView find ShowColumnHeaders. Set it = False

user1040323
  • 481
  • 4
  • 11