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

grid lines

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.

2 Replies

AD Administrator Syncfusion Team 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...

MN Mahesh Naik 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.

Live Chat Icon For mobile
Up arrow icon