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

Merged cells within merged cells

Thread ID:





3824 Apr 11,2003 12:41 PM UTC Apr 11,2003 09:09 PM UTC WinForms 3
Tags: GridControl
Maxim Software Systems
Asked On April 11, 2003 12:41 PM UTC

If I've got, for example, 10 rows merged together in a column as one covered cell, then try to merge, say, 3 rows in the middle of those 10 rows as another covered cell, it breaks up the remaining rows into individual cells instead of splitting them into two smaller covered cells (which is what I would have expected) and changes the style of all 10 cells to the style of the new 3 cell covered cell (which is completely unexpected). Is this behaviour something that might change in a future version, or should I start programming a workaround for this problem for myself (which, I assume, would entail manually looping through the collection of covered cells and modifying the one to be broken apart as necessary)?

Administrator [Syncfusion]
Replied On April 11, 2003 02:41 PM UTC

We don't have any discussed plans of modifying the current covered cell behavior. In the upcoming 1.6 release, in addition to the current CoveredCells, there will be a concept of merged cells, where cells containing like values are merged into a bigger single cell. Merge cells will behave as you described above. If the cells rows 1 to 10 in column 1 have teh same value, you would see 1 cell. If you then modified row 5 column 1 to a different value, the merge cells would end at row 4 and start back up with rows 6 to 10. So, if you are covering cells to hide the same value, then I think using the new Merge Cells will give you the effect you want. If you really need the covered cells, then coding your work around is probably the way to go. Using the Model.CoveredRanges.Ranges.AnyRangeIntersects and the Model.CoveredRanges.Ranges.GetRangesIntersecting methods should be of help.

Maxim Software Systems
Replied On April 11, 2003 03:06 PM UTC

When is version 1.6 slated to be released?

Administrator [Syncfusion]
Replied On April 11, 2003 09:09 PM UTC

A beta release is scheduled for the coming week.


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