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

Hide gridlines in gridgroupingcontrol

Thread ID:





52870 Dec 5,2006 02:55 PM UTC Dec 6,2006 03:45 PM UTC WinForms 2
Tags: GridControl
Ram Raja
Asked On December 5, 2006 02:55 PM UTC


How do we programmatically hide/show the horizontal and/or vertical grid lines in GridGroupingControl.


Administrator [Syncfusion]
Replied On December 6, 2006 07:27 AM UTC

Hi Ram,

Please try this code.

//Hide the GridLines.
this.gridGroupingControl1.TableModel.Properties.GridLineColor = Color.Empty;

//Show the GridLine with "Red" color.
this.gridGroupingControl1.TableModel.Properties.GridLineColor = Color.Red;

Best Regards,

Ram Raja
Replied On December 6, 2006 03:45 PM UTC

Thanks for the help Haneef. You pointed me to the right direction.

I was looking for something like this.
this.gridGroupingControl1.TableModel.Properties.DisplayHorzLines = true;
this.gridGroupingControl1.TableModel.Properties.DisplayVertLines = false;



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

or the page will be automatically redirected to 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