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
540
Copying one column to another
posted

Hi

In a bound grid, when one column is edited by the user I need its value to be copied to another column of the grid. How can I achieve this?

Thanks

Regards

PS: Actually I will be changing the value slightly before assigning it to the second column but for simplicity I am skipping this in my question.

Parents
No Data
Reply
  • 12773
    posted

    Hello,

    There is no reason for the events to be not fired, if you set them correctly.
    Anyway the best event that you need to handle in your case is AfterExitEditMode, This will allows you retrieve the value from the cell only when the user finished editing. You can use the following line to retrieve the value form the edited cell :
    ultraGridData.ActiveCell.Value

    The AfterCellUpdate and CellChange events are fired after every single change in the cell such as inserted character.

    If you still have trouble to handle the AfterCellUpdate, CellChange and AfterExitEditMode, If possible, please attach the test project so we can take a look.


    Best regards,
    Dimi



    Developer Support Engineer
    Infragistics Inc.

Children
No Data