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.

Hide gridlines in gridgroupingcontrol

Thread ID:

Created:

Updated:

Platform:

Replies:

52870 Dec 5,2006 09:55 AM Dec 6,2006 10:45 AM Windows Forms 2
loading
Tags: GridControl
Ram Raja
Asked On December 5, 2006 09:55 AM

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 02:27 AM

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 10:45 AM

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.

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.

;