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

batch editing when are changes finished

3 Answers 72 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Gary Goodwin
Top achievements
Rank 1
Gary Goodwin asked on 25 Nov 2015, 12:38 PM

I have a grid in batch edit mode using batcheditcommand to process all updates.

How do I know there are not anymore changes to come if I edit multiple rows?

 

Gary

3 Answers, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 26 Nov 2015, 02:33 PM
Hi Gary,

If you are handling the OnBatchEditCommand event you can access all changes that were made via the e.Commands collection. You can iterate through the commands like illustrated in the following article.



Regards,
Viktor Tachev
Telerik
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
0
Gary Goodwin
Top achievements
Rank 1
answered on 26 Nov 2015, 03:15 PM

Can you give me an example of this when I have a hierarchical grid?

Thanks

 

Gary

 

0
Viktor Tachev
Telerik team
answered on 27 Nov 2015, 12:07 PM
Hi Gary,

The approach will be the same when hierarchy is enabled. Note that the changes that are listed in e.Commands will be the changes that are made in the GridTableView where the Save Changes button was pressed..

Regards,
Viktor Tachev
Telerik
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
Grid
Asked by
Gary Goodwin
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Gary Goodwin
Top achievements
Rank 1
Share this question
or