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

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -