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

Allow InLine editing without a backend

3 Answers 136 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jean-François
Top achievements
Rank 1
Jean-François asked on 02 Oct 2013, 12:46 PM
Hi, 

We have a grid that is part of a form, which is used to create a one-to-many relationship. However, we cannot set the grid to InLine editing without having to specify an URL for create/update/delete. 

We would like not to specify those URLs and simply read from the grid's datasource before submitting the form.

Sending calls to /dev/null is not an option, since that seems to reset the ViewModel's state (we lose info on isNew, isDirty, etc).

Is there a way we could use this mode without auto-saving?

Thank you,
Jni

PS : I'm sorry - I didn't realize there was a "grid" forum separate from the asp.net mvc grid. Can you please move it?

3 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 03 Oct 2013, 10:02 AM
Hi Jean,

 
Basically local editing (as you require it) can be achieved using KendoUI grid for Web. For convenience I created small jsBin example which you can use as a baseline to achieve the desired behavior:


Kind Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Jean-François
Top achievements
Rank 1
answered on 03 Oct 2013, 01:59 PM
Hi Vladimir, 

This is a good start, but it's not exactly what the PO wants. Few questions : 

* Is it possible to do the same in asp.net MVC? Looks like I can only provide an URL, no JS function name. If not, would this be considered for future versions?
* Is is possible to achieve the same with InLine editing instead of InCell? <--- Answered myself, yes you can do it

Thank you, 
Jni
0
Vladimir Iliev
Telerik team
answered on 07 Oct 2013, 09:54 AM
Hi Jean,

 
Please find the answer of your questions below:

Is it possible to do the same in asp.net MVC? Looks like I can only provide an URL, no JS function name. If not, would this be considered for future versions? - Currently editing of local data using KendoUI for ASP.NET MVC wrappers is not supported out-of-the-box, however I would suggest to share your idea at KendoUI UserVoice to allow other users vote for it. Most voted ideas are included in next KendoUI releases. 

Kind Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Jean-François
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Jean-François
Top achievements
Rank 1
Share this question
or