Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 78072

How does editor get value from custom editor

$
0
0

Manually binding to the currently edited model works - at least for the "changing edit widget type" issue.

When I swap widgets, do a kendo.destoy on that td, then re-insert the div with the data-bind="value:<field>", I manually bind like so:

vargrid = $("#grid").data("kendoGrid");
varmodel = grid.editable.options.model;
kendo.bind($("#value-container"), model);

Is this what you were referring to?

Thanks,

--Ed


Viewing all articles
Browse latest Browse all 78072

Latest Images

Trending Articles



Latest Images