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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Border around a group of rows/Columns

Thread ID:





6147 Aug 1,2003 07:59 PM UTC Aug 2,2003 06:46 AM UTC WinForms 3
Tags: GridControl
Asked On August 1, 2003 07:59 PM UTC

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 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.

Replied On August 1, 2003 11:32 PM UTC

Thanks Clay. Eric

Administrator [Syncfusion]
Replied On 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.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon