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

GGC: Hide Column Headers

Thread ID:





59509 Apr 16,2007 12:24 PM UTC Apr 16,2007 03:50 PM UTC WinForms 2
Tags: GridControl
Russell Coombes
Asked On April 16, 2007 12:24 PM UTC


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?


haneefm [Syncfusion]
Replied On April 16, 2007 03:45 PM UTC

Hi Russell,

You can try this code to hide a column header.

this.gridGroupingControl1.TopLevelGroupOptions.ShowColumnHeaders = false;

Best regards,

Russell Coombes
Replied On April 16, 2007 03:50 PM UTC

Ah! Perfect - thankyou!


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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