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

Border around a group of rows/Columns

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.

3 Replies

AD Administrator Syncfusion Team August 1, 2003 10:30 PM UTC

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.

ER ERobishaw August 1, 2003 11:32 PM UTC

Thanks Clay. Eric

AD Administrator Syncfusion Team August 2, 2003 06:46 AM UTC

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.

Live Chat Icon For mobile
Up arrow icon