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
275
Merged cells in WinGrid
posted

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

  • 469350
    Verified Answer
    Offline posted

     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.