https://snippet.dhtmlx.com/8ylhm6sc
Makr_now marks a line in day view, but not in timeline view. I don’t know how to, is it possible?
Thx
https://snippet.dhtmlx.com/8ylhm6sc
Makr_now marks a line in day view, but not in timeline view. I don’t know how to, is it possible?
Thx
Hello @jyginger,
The mark_now
should work on the timeline view by default. In your case issue occurs because of 2 reasons, the first one - you should add the limit
plugin before the timeline
, like follows:
scheduler.plugins({
limit:true,
timeline: true,
});
The second one is the styling bug in the scheduler, and the dev team already works on a fix. Currently you can avoid it by adding additional styles to the scheduler, like follows:
.dhx_marked_timespan.dhx_matrix_now_time{
background-color: red;
}
Here is a demo:
https://snippet.dhtmlx.com/wlmddt13
Best regards,
It works very well, thanks Siarhei.