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
close icon

Want to remove row lines from a column in DataBoundGrid.

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

1 Reply

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

Loader.
Live Chat Icon For mobile
Up arrow icon