How to get responses from controller to jsp in batch editing mode.

2 posts, 0 answers
  1. LEENA
    LEENA avatar
    5 posts
    Member since:
    Dec 2013

    Posted 18 Dec 2013 Link to this post

    i have kendo grid with batch editing . By clicking save changes we can do insert , delete  or update operation . Think is in need to get response from my controller to jsp . Like "Succesfully saved the data" . is there is any tag used to get the response from jsp..
  2. Petur Subev
    Petur Subev avatar
    1882 posts

    Posted 19 Dec 2013 Link to this post

    Hello Leena,

    Basically each of the CRUD operations that you mentioned should return as response the updated/created/delete object (this is done with the corresponding Dao method). Check the example here:

    In the cases above the requestEnd dataSource event will be triggered and you can signify success.

    In case there is any error the error event of the dataSource will be triggered and you can warn the users that something has gone wrong.

    Petur Subev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top