Home Unanswered Active Tags New Question

DayPilotScheduler.DataEndField error

this.DayPilotScheduler1.DataSource = table;
this.DayPilotScheduler1.StartDate=algus; //2009-01-01
this.DayPilotScheduler1.DataStartField="START_DATE"; //2009-01-10 //correct
this.DayPilotScheduler1.DataEndField = "VALID_UNTIL_DATE"; //2009-01-31
this.DayPilotScheduler1.DataValueField = "FLAT_OP";
this.DayPilotScheduler1.DataResourceField = "FLAT_ID";
this.DayPilotScheduler1.DataTextField = "TENANT_NAME";
this.DayPilotScheduler1.Days = lopp.Day; //31
this.DayPilotScheduler1.CellDuration = 1440;

But scheduler shows 31 day as fee day

Asked by Kuido Külm 3 years ago.
Replies

Try put into endfield 2009-01-31 23:59:59, entering only a date you assume time is 00:00:00 so event end in the begining of 31th day

Comment posted by Szymon 3 years ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java