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.

Setting default cell borders on databoundgrid

Thread ID:

Created:

Updated:

Platform:

Replies:

17975 Aug 20,2004 10:04 AM Aug 20,2004 10:30 AM Windows Forms 1
loading
Tags: GridControl
Patrick Noble
Asked On August 20, 2004 10:04 AM

How do I set the default cell border weight on a databoundgrid to extrathin? I thought it would be through grid.tablestyle.borders.left.weight but this is read only.

Administrator [Syncfusion]
Replied On August 20, 2004 10:30 AM

You need to create a new object with code like grid.Tablestyle.Borders.Left = new GridBorder(GridBorderStyle.Solid, Color.Black, GridBorderWeight.ExtraThin); // or whatever you want

CONFIRMATION

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.

;