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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How do you hide the column headers?

Thread ID:

Created:

Updated:

Platform:

Replies:

97525 Dec 6,2010 06:37 PM UTC Dec 21,2010 02:55 PM UTC WPF 1
loading
Tags: GridControl
Jon Elster
Asked On December 6, 2010 06:37 PM UTC

How do you hide the column headers?

thx


Mohamed Suhaib Fahad A. [Syncfusion]
Replied On 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



CONFIRMATION

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.

Warning Icon 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.Close Icon

;