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

Want to remove row lines from a column in DataBoundGrid.

Thread ID:





22302 Dec 9,2004 08:38 AM UTC Dec 9,2004 08:54 AM UTC WinForms 1
Tags: GridControl
Ambuj Tayal
Asked On December 9, 2004 08:38 AM UTC

I want to remove cell borders(RowLines) for all cells in a particular column. Can you tell me what col property I can set to achive this? If there is no property as such then please let me know how to do it? Thanks, Ambuj

Administrator [Syncfusion]
Replied On December 9, 2004 08:54 AM UTC

If youwant to remove it from all columns, you can use: this.gridDataBoundGrid1.Model.Options.DefaultGridBorderStyle = GridBorderStyle.None; If you want to remove it from one column, try: this.gridDataBoundGrid1.Binder.InternalColumns["Col2"].StyleInfo.Borders.Right = GridBorder.Empty; If you have explicitly added gridBooundColumns, then use grid.GridBoundColumns["Col2"] instead of the internal columns as above.


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