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.

Want to remove row lines from a column in DataBoundGrid.

Thread ID:





22302 Dec 9,2004 03:38 AM Dec 9,2004 03:54 AM Windows Forms 1
Tags: GridControl
Ambuj Tayal
Asked On December 9, 2004 03:38 AM

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 03:54 AM

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.

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.