Issue getting the selected slot date in Kendo Scheduler -
i've got kendo scheduler , want simple: select day , selection information.
here's scheduler:
@(html.kendo().scheduler<myproj.models.scheduleinspectionmodel>() .name("scheduler") .views(views => { views.monthview(mv => mv.selected(true)); views.agendaview(); }) .events(e => e.change("test")) <------------------------ .timezone("etc/utc") .selectable(true) .datasource(d => d .read("getscheduleinspections", "controllername") ) )
the javascript function fired when day selected:
function test(e) { alert("hey"); }
the function called , alert shown. want able e.date
access current date, example. there no intellisense , can't find api documentation follow.
to date in change function of scheduler use :
var date = e.start;
yes, correct intellisense not available this. use can use client side debugging(for example using developers tool) available data.
Comments
Post a Comment