Weird grid behavior

2 posts, 0 answers
  1. Jens
    Jens avatar
    1 posts
    Member since:
    Oct 2016

    Posted 11 Oct Link to this post

    I have this ASP.NET MVC application using kendo ui in the frontend. 

    I've made a grid that you can edit inline and sort by using drag and drop. 

    Observe the follwing fiddle: https://jsfiddle.net/c817crh6/2/

    I have two problems with this grid

    1) When editing a textfield and clicking save, the row is not saved.  Only the read method is called on the server.

    When I edit a textfield and click ( or tab ) out of the textfield, then it works fine ( First the update, then the read method is called ).

    -> I think kendo does not detect an update on the model but can't figure out how to forse to update the model. 

    2) When changing the order by draging in the list, the save button is calling the delete method on the server.  

     

    My backend controller looks like this

    public ActionResult Management_Edit([DataSourceRequest] DataSourceRequest request, ManagementViewModel management){ // Code to edit }

     

    thanks in advance

  2. Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    347 posts

    Posted 12 Oct Link to this post

    Hello Jens,

    Please refer to the following section of our documentation for a detailed explanation, and links to various examples of Sortable/ Editable Grid widgets integration:

    http://docs.telerik.com/kendo-ui/controls/interactivity/sortable/integration#sortable-and-editable-grid

    I hope this helps.

    Regards,
    Dimiter Topalov
    Telerik by Progress
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
  3. Kendo UI is VS 2017 Ready
Back to Top