Hi,
How to loop through each date in Timeline Days mode?
please suggest me regarding this
thank you
Hi,
How to loop through each date in Timeline Days mode?
please suggest me regarding this
thank you
Hi,
you can get the currently displayed date range using scheduler.getState method. Then,
var timeline = scheduler.matrix[state.mode];
if(timeline){
while(+from < +to){
//… do something
from = scheduler.date.add(from, timeline.x_step, timeline.x_unit);
}
}[/code]
docs.dhtmlx.com/scheduler/api__s … state.html
docs.dhtmlx.com/scheduler/api__s … other.html