Batch Grid field changed through javascript, now can't save

3 posts, 0 answers
  1. David
    David avatar
    301 posts
    Member since:
    Mar 2014

    Posted 03 Jun 2019 Link to this post

    I am changing some fields in my grid through javascript. Unfortunately OnBatchEditCommand can't sense that anything changed at all.

    Is there a way to trick grid to include changed fields in "new values"

    Thank you

  2. Attila Antal
    Admin
    Attila Antal avatar
    520 posts

    Posted 04 Jun 2019 Link to this post

    Hi David,

    Batch Editing of the Grid is a client-side editing functionality that keeps track of changes if they are made using the APIs.

    Please take a look a the Batch Editing Client-side API, more specifically at the method called changeCellValue(). This is the method that needs to be used to change the value of a cell. Once done, the OnBatchEditCommand will detect the changes on the server side.

    You might also check out the following articles that could prove useful in this scenario:
    Kind regards,
    Attila Antal
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. David
    David avatar
    301 posts
    Member since:
    Mar 2014

    Posted 04 Jun 2019 in reply to Attila Antal Link to this post

    It helped me tremendously!!!!

    Thank you

Back to Top