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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

grid lines

Thread ID:





19455 Sep 27,2004 11:47 AM UTC Sep 28,2004 11:02 AM UTC WinForms 2
Tags: GridControl
Mahesh Naik
Asked On September 27, 2004 11:47 AM UTC

good morning, how do i control the grid lines for the control. It so happens that i am using column 0 also. when i change the grid.properties the covered cells in col(0) are not drawn with the gridboundries i require.

Administrator [Syncfusion]
Replied On September 27, 2004 02:09 PM UTC

You set the style.Border property for the header cells. grid.BaseStylesMap["Row Header"].StyleInfo.Borders.Right = new GridBorder(GridBorderStyle.Solid); //or what settings you want...

Mahesh Naik
Replied On September 28, 2004 11:02 AM UTC

i tried setting it coumn 0.it worked but the previous cell boundries of header cell are spoling the beauty.I have a option in which the grid lines can be switched on/off by the user.one tick mark and the grid lines vanish from all of 17 grids. I will right shift my columns and hide the header row and also the columns. No more decorations.I am now to event handling.


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

Live Chat Icon For mobile
Live Chat Icon