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

Hide gridlines in gridgroupingcontrol

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hi,

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

Thanks,
Ram

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,
Haneef

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;

Regards,
Ram

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

;