Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Stan on Oct 26, 2009 10:10
open dhtmlx forum
Scheduler next appointment

Hello and thank you for the great support.

Is there a way to view the date of the next appointment for a reoccuring event?
Answer posted by Stanislav (support) on Oct 26, 2009 10:41
While it is not a part of default api the next must work

var ev = scheduler.getEvent(id);
scheduler.transpose_type(ev.rec_pattern);

var next = scheduler.date.add(ev.start_date, 1, ev.rec_pattern);