Inconsistent behavior in GridViewCellEditEndedEventArgs.Cell.Value

2 posts, 0 answers
  1. John
    John avatar
    2 posts
    Member since:
    Jul 2013

    Posted 26 Oct Link to this post

    When I handle e.Cell.Value in my Grid.CellEditEnded event handler, it will sometime have the updated value, and other times it will not.

    Is there a method I can call on the Cell to request it to write to source?

    It seems if I end editing by clicking on a cell in the same row, it will fail, but if I end editing by click on another row it will usually work.

    Thanks for the assistance.

  2. Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    368 posts

    Posted 28 Oct Link to this post

    Hello John,

    Rather than using the cell's Value, would it work for you to use the NewData property of the GridViewCellEditEndedEventArgs of the CellEditEnded event which will always contain the newly-provided value?

    Regards,
    Dilyan Traykov
    Telerik by Progress
    Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top