我想在我的調度器劍道調度使用劍道MVC包裝的參數圖,使用MVC包裝劍道調度
目前我使用parameterMap的成文檔加載後的JavaScript功能完成:
$(document).ready(function() {
$("#scheduler").data("kendoScheduler").dataSource.transport.parameterMap = function (options, operation) {
var scheduler = $("#scheduler").data("kendoScheduler");
if (operation === "read") {
var result = {
start: scheduler.view().startDate().toISOString(),
end: scheduler.view().endDate().toISOString()
}
return result;
}
};
})
但我想用Kendo Scheduler使用MVC Wrapper。 可以做嗎?