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.

Border around a group of rows/Columns

Thread ID:





6147 Aug 1,2003 03:59 PM Aug 2,2003 02:46 AM Windows Forms 3
Tags: GridControl
Asked On August 1, 2003 03:59 PM

Is there an easy way, in designer or code, to put a border around a group of rows/columns. Not each cell in the group, just the whole group? Thanks ERObishaw New to THE Grid.

Administrator [Syncfusion]
Replied On August 1, 2003 06:30 PM

BannerCells lets you have a group of cells sharing the same backgound color scheme (gradients or whatever) or bitmaps. You can see samples in Syncfusion\Essential Suite\Grid\Samples\Quick Start\BannerCells. You can use a covered cell to treat a range of cells as 1 cell which would share a single border like a single cell. But if you actually want to access the cells in the range, then there is no built-in support for this. Here is a sample that treats the first 6 rows as 2-row sets, outlining the two rows with one border. But it does this from code.

Replied On August 1, 2003 07:32 PM

Thanks Clay. Eric

Administrator [Syncfusion]
Replied On August 2, 2003 02:46 AM

I also should have mentioned you can do this in the designer for a GridControl as the border on each of the 4 sides of a cell can be set independently. By default, only the bottom and right sides are set. So, you can set the appropriate bottom and right borders to form a continuous 'big border' around a set of cells.


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.