Kendo ui grid inline and popup mixed and template on popup -
i saw link great explanation onabai, i´m trying set template temporary popup , can´t make work:
$(".k-grid-popup", grid.element).on("click", function () { // temporarily set editable "popup" grid.options.editable = "popup"; // insert row grid.addrow(); // revert editable inline grid.options.editable = "inline"; });
how set template of popup?
regards.
while can access grid options directly, change options should made using setoptions method. function notify grid of options change , able make internal change handle event according the new options.
$(".k-grid-popup", grid.element).on("click", function () { grid.setoptions({editable: "popup"}); grid.addrow(); grid.setoptions({editable: "inline"}); });
i don't have working example of code can't tell if need change else in code.
Comments
Post a Comment