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.
Syncfusion Feedback

GGC: Hide Column Headers

Thread ID:

Created:

Updated:

Platform:

Replies:

59509 Apr 16,2007 08:24 AM Apr 16,2007 11:50 AM Windows Forms 2
loading
Tags: GridControl
Russell Coombes
Asked On April 16, 2007 08:24 AM

Hi,

Can someone please advise the best way to hide the Column Headers of my grid grouping control? There are no nested tables in my grid - there will simply be 5 columns with a maximum of 3 - 4 rows. I do not want any column headers on this control, but the following lines of code do not seem to hide them:

this.grid.TableModel.Properties.ColHeaders = false;

this.grid.TableControl.Model.HideRows[0] = true;

Can anyone please tell me what the correct way of turning off column headers please?

Thanks,
Russell

haneefm [Syncfusion]
Replied On April 16, 2007 11:45 AM

Hi Russell,

You can try this code to hide a column header.

this.gridGroupingControl1.TopLevelGroupOptions.ShowColumnHeaders = false;

Best regards,
Haneef

Russell Coombes
Replied On April 16, 2007 11:50 AM

Ah! Perfect - thankyou!

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

;