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

DataGrid and updating edited data in a column

1 Answer 92 Views
DataGrid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kieran C
Top achievements
Rank 1
Kieran C asked on 27 Jul 2016, 05:16 PM

 

Hi,

I am using the datagrid with an azure sql table.  I have the grid populating from a class and the user can edit the data but i am unsure how I can update my azure table.

I can not see a telerik event that is fired when the user has finished editing a column in the grid (i.e. clicked away from it) and which will tell me what data they have changed in what column?

Is there a way to do this...or a better way I am missing?

Thanks

Kieran

1 Answer, 1 is accepted

Sort by
0
Lance | Senior Manager Technical Support
Telerik team
answered on 28 Jul 2016, 04:54 PM

Hi Kieran,

The DataGrid has a set of Editing life-cycle commands:

BeginEdit
CancelEdit
CommitEdit
ValidateCell

If you want to add logic to persist your data/sync changes when the user edits a cell, you can use the CommitEdit Command. You'll find an example implementation here.

Regards,

Lance | Tech Support Engineer, Sr.
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
DataGrid
Asked by
Kieran C
Top achievements
Rank 1
Answers by
Lance | Senior Manager Technical Support
Telerik team
Share this question
or