0
취소 옵션을 이미 초기화 된 표에서 설정하는 방법이 있습니까? 나는 서버 측 MVC 랩퍼를 사용하고 있는데, 이것을 가지고있다.이미 초기화 된 표에서 취소 옵션 설정
.Events(events => events.Cancel("function() {alert('hi');}"))
Clientside I tried:
$("#grdTest").kendoGrid({ cancel: function() { alert("canceled"); } });
and
$kendoGrid = $("#grdTest").data("kendoGrid");
$kendoGrid.options.cancel = function() {
alert('Canceled');
};