This is a migrated thread and some comments may be shown as answers.

Reflect updated contents of cell without rebding datasource

2 Answers 43 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 26 Oct 2016, 08:34 PM

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 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 27 Oct 2016, 10:33 AM
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.
0
Steven
Top achievements
Rank 1
answered on 27 Oct 2016, 10:58 PM
Thanks
Tags
GridView
Asked by
Steven
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Steven
Top achievements
Rank 1
Share this question
or