Pasha Pasha - 1 year ago 89
Javascript Question

How to do grid update without closing window

I have a grid with data. Currently I am using "Popup editing" and a custom template for this window.

editable: {
mode: "popup",
window : {
resizable: true,
animation: false,
modal: false
template: kendo.template($("#popup-editor").html())

I want make the grid update when the user is looking at the editing window,
but the window is closing when I do this:


How do I update the grid without the window closing?

Answer Source

According to Kendo documentation you should:

-set the grid's editable configuration option

-declare field definitions through the DataSource schema

-configure the DataSource for performing CRUD data operations defining its transport -> create/update/destroy attributes

And popup editor will update datasource automatically

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download