Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
240
Merged Cells
posted

Hi, is ist possible to exclude cells from merging that belong to the different groups?

_______________________
| group1 |_____a_____|
|_______|_____b_____|
| group2 |         b         |
|_______|___________|

it would look like that. The groups are in one column and the a and b are in another column. The cells in "group1" are merged and the cells in "group2" too. But i dont want that the "b" merge with the other "b"

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Yes, I beleive you can do this. What you would do is implement a MergedCellEvaluator. You create a class that implement IMergedCellEvaluator and assign it to the column. The grid will call methods on the interface and pass you in two cells. You can examine those cells and their respective rows and decide whether or not they should be merged by whatever criteria you like. 

Children
No Data