Popup Grid Cancel button Problem

4 posts, 0 answers
  1. Rajesh
    Rajesh avatar
    1 posts
    Member since:
    Sep 2014

    Posted 22 Sep 2014 Link to this post

    Hi Guys.
    I am facing the problem of Popup Grid (kendo Grid) Cancel button.When I choose cancel on Popup editing, the entire row is deleted.
    I saw so many threads in kendo grid forum but didn't help me.
    I attached this related files.
    Can somebody plz help me to fix this issue ?

    Thanks
    Rajesh






  2. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 23 Sep 2014 Link to this post

    Hello Rajesh,

    This behavior is usually observer when there isn't `id` defined for the model or if the item, which is being cancelled, has default value of the `id` field.

    In your setup there is defintion for Model.Id, however it is not obvious how the grid is bound. Read method points to some dummy action method which doesn't exists in the provided files: `.Read("Dummy", "Dummy") `.

    The following article explains how to properly setup the Grid and how to implement controller methods in order to have editable grid working correctly: Grid Ajax Editing.

    Regards,
    Nikolay Rusev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Bruno
    Bruno avatar
    6 posts
    Member since:
    Nov 2014

    Posted 23 Jun 2015 Link to this post

    Hi,

    I'm facing the same problem

    cancel button cancel the row instead of simply close the editable window

    http://dojo.telerik.com/ovaYO

    could you please help me to find what I am missing ?

    B.

  5. Bruno
    Bruno avatar
    6 posts
    Member since:
    Nov 2014

    Posted 23 Jun 2015 Link to this post

    found the answer
    http://www.telerik.com/forums/use-gird-editable-%27popup%27-when-click-edit-button-and-pop-up-a-dialog-and-click-%27cancel%27-the-edit-row-will-be-deleted

    http://jsfiddle.net/AWyLf/37/

    Thanks and sorry

     

Back to Top
Kendo UI is VS 2017 Ready