Hi,
I have implemented the MergedCellEvaluator to merge cells having similar text. I want to edit the mergeCell so that when i changes the value of any one cell, the value should reflect to all cells which are merged with that cell. Is there any way to do this?
Thanks in Advance,
Ujwal Salunkhe
Hi Ujwal,
There's no built-in way to do it. You would have to handle an event of the grid like BeforeCellUpdate or maybe AfterCellUpdate, find all the merged cells, and then update them all in code. You can use the GetMergedCells method on the cell to get all of the cells it is merged with.
Hi Mike,
I tried getting list of all mergedcells by GetMergedCell() method in BeforeCellUpdate(..), AfterCellUpdate(...) and CellChange(..) events but it returns null every time. Can you please let me know why it returns null everytime in these events.
Thanks,