We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

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.
Live Chat Icon For mobile
Up arrow icon