Reflect updated contents of cell without rebding datasource

3 posts, 1 answers
  1. Steven
    Steven avatar
    7 posts
    Member since:
    Oct 2015

    Posted 26 Oct Link to this post

    Our grid is populated via a BindingSource, ultimately by DataTable DefaultView who's source is a stored procedure.

    Using a popup form, the user can update the contents of one of the column's cells of the current row. In order to reflect that change I am rebinding the data source.

    I'd like to simply "refresh" the contents of the updated cell for that row and not rebind the whole data source. Is this possible using the data binding method I am using, or must I rethink that?

    Rebinding the data source of course creates some scrolling issues for the user, and while I can go back to the same row, it's still an issue.

    Thanks

  2. Answer
    Dimitar
    Admin
    Dimitar avatar
    1404 posts

    Posted 27 Oct Link to this post

    Hello Steven,

    The values should be synchronized automatically without resetting the source. I have attached a small sample that shows a sample implementation.

    I hope this will be useful. Let me know if you have additional questions.

    Regards,
    Dimitar
    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Steven
    Steven avatar
    7 posts
    Member since:
    Oct 2015

    Posted 27 Oct in reply to Dimitar Link to this post

    Thanks
Back to Top