Ability to do both Inline and Popup editing in a Grid

2 posts, 0 answers
  1. Timothy
    Timothy avatar
    1 posts
    Member since:
    Jan 2014

    Posted 08 Jan 2017 Link to this post

    Hello,

    I would like to provide users with the ability to do quick edits on records inline in a grid (i.e. editing a subset of fields that are displayed on the grid), but also give them the ability to launch a popup window to edit all fields for a particular record (including some that don't show up as bound columns on the grid).

    I have successfully used MVC editor templates to customize the popup editor for a grid so I am wondering if there is a way I can create a custom button in a command column that will launch a popup editor window (using a ASP.NET MVC editor template for the record).

     

    Thanks in advance for any advice you may be able to provide!

     

  2. Eduardo Serra
    Admin
    Eduardo Serra avatar
    119 posts

    Posted 09 Jan 2017 Link to this post

    Hello Timothy,

    The Kendo UI Grid doesn't support the ability to use both inline and pop-up edit modes at the same time. I encourage you to participate in the Kendo UI Feedback and Feature Request Portal in order to voice your opinion and, if enough people vote on it, it might get included by developers in future releases.

    That said, you explain a custom approach that should work in your case; I would recommend using inline as the default edit mode and using a custom command button that opens a generic Kendo UI Window with your custom edit form. When the form is submitted, if the data is valid, insert the newly created dataItem into the DataSource and execute the grid's saveChanges method.

    Keep in mind that this would be a custom implementation and thus might not be fully supported or compatible with other implementations or future versions.

    I hope this helps!

    Regards,
    Eduardo Serra
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top