Red Modified Row Indicator Showing Issue

4 posts, 1 answers
  1. Reid
    Reid avatar
    446 posts
    Member since:
    Oct 2008

    Posted 29 May 2016 Link to this post

    I have a Kendo MVC Grid that has inline editing enabled.  The form has a master SAVE button on top of the form.  The intent is to let the user modify multiple rows and then do one master save.


    So right now the EDIT button allows the user to edit the row values and presents an UPDATE button.  This works in that the update method specified in the grid's configuration fires the controller event.  In that event I just return the row that was sent in.  That is all working but we would like the red indicator to show in the row in the modified cells after the controller action and then be cleared when the master save button is clicked, and the JavaScript submits the form's modified rows to that controller action in an AJAX batch action on the form.


    Can someone offer a possible solution?



  2. Stephen
    Stephen avatar
    90 posts
    Member since:
    Jan 2011

    Posted 30 May 2016 in reply to Reid Link to this post

    For some reason, inline edit mode of the grid does not work with the batch mode of the underlying datasource.

    Using the incell edit mode of the grid with batch mode will accomplish what you want(submit all rows at once instead of one at a time).

    Otherwise, if you *must* use inline edit mode, then you may have to hack it:


  3. Answer
    Konstantin Dikov
    Konstantin Dikov avatar
    2466 posts

    Posted 31 May 2016 Link to this post

    Hi Reid,

    As Stephen mentioned, in order to enable Batch operations you need to do that for the underlying DataSource of the Grid, but it is not supported with the Inline edit mode. However, going through your requirements, the InCell (Batch) edit mode seems to be a better fit:
    For the Inline edit mode you could refer to the linked by Stephen forum thread and the code-library mentioned there.

    Best Regards,
    Konstantin Dikov
    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
  4. Reid
    Reid avatar
    446 posts
    Member since:
    Oct 2008

    Posted 03 Jun 2016 in reply to Konstantin Dikov Link to this post

    We have since reverted this view to use inCell editing.

    Thanks all!

Back to Top