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.
Unfortunately, activation email could not send to your email. Please try again.

How do you hide the column headers?

Thread ID:





97525 Dec 6,2010 01:37 PM Dec 21,2010 09:55 AM WPF 1
Tags: GridControl
Jon Elster
Asked On December 6, 2010 01:37 PM

How do you hide the column headers?


Mohamed Suhaib Fahad A. [Syncfusion]
Replied On December 21, 2010 09:55 AM

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;



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.