batch editing when are changes finished

4 posts, 0 answers
  1. Gary Goodwin
    Gary Goodwin avatar
    9 posts
    Member since:
    Feb 2006

    Posted 25 Nov 2015 Link to this post

    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

  2. Viktor Tachev
    Admin
    Viktor Tachev avatar
    2357 posts

    Posted 26 Nov 2015 Link to this post

    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
  3. Gary Goodwin
    Gary Goodwin avatar
    9 posts
    Member since:
    Feb 2006

    Posted 26 Nov 2015 in reply to Viktor Tachev Link to this post

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

    Thanks

     

    Gary

     

  4. Viktor Tachev
    Admin
    Viktor Tachev avatar
    2357 posts

    Posted 27 Nov 2015 Link to this post

    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
Back to Top