How do you hide the column headers?

How do you hide the column headers?

thx


1 Reply

MS Mohamed Suhaib Fahad A. Syncfusion Team December 21, 2010 02:55 PM UTC

Hi Jeister,

I'm not sure for which Grid control you wanted to hide the column headers, Please check the below list of ways you can use,

GridControl - You need to use the below code,

this.grid.Model.ColumnWidths[0] = 0d;

GridDataControl - You can set the "IsHidden" property in the VisibleColumn,

this.gridDataControl.VisibleColumns[0].IsHidden = true;

Thanks,
Fahad



Loader.
Up arrow icon