kendo ui on editable pop up window load event

时间:2014-07-21 18:35:40

标签: kendo-ui

在kendo ui网格可编辑弹出窗口中是否有加载窗口事件。我想在窗口成功加载时编写一些代码

.Editable(ed => ed.Mode(GridEditMode.PopUp).TemplateName("CustomEditors/CustomEditor").Window(w => w.Title("Account").Name("MyCustomWindow").Resizable().Width(800).Height(600)))

在这种情况下加载MycustomWindow并呈现CustomEditor视图时,我想写一些代码

这可能吗?

1 个答案:

答案 0 :(得分:3)

使用网格的Edit事件

.Events(ev=>ev.Edit("onEdit")
...

<script>
function onEdit(e){
    //your logic goes here
}
</script>
相关问题