This is a migrated thread and some comments may be shown as answers.

Ability to do both Inline and Popup editing in a Grid

1 Answer 627 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Timothy
Top achievements
Rank 1
Timothy asked on 09 Jan 2017, 02:43 AM

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!

 

1 Answer, 1 is accepted

Sort by
0
Eduardo Serra
Telerik team
answered on 09 Jan 2017, 07:24 PM
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.
Tags
Grid
Asked by
Timothy
Top achievements
Rank 1
Answers by
Eduardo Serra
Telerik team
Share this question
or