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