But after this the “mark_now” marker disappears. Is this a known issue? Is there something I can do about it?
When I switch view (e.g. from week view to month view and back) it shows up again.
Sorry, my bad, it’s the scheduler.updateView(); that triggers the issue. Add it after the updateCollection() and you see the issue.
I need to do this to hide units in the units view. Perhaps there is another way to do that? I.e. when I select a unit (or multiple) I want to hide the other unit columns.
I can’t confirm this either: docs.dhtmlx.com/scheduler/snippet/73c1789b
Note that you can modify that demo yourself and generate a permanent link to a code snippet by pressing “Share” button
Using serverList/updateCollection is an expected approach for this case. Although, a manual call of scheduler.updateView after updateCollection shouldn’t be necessary since updateCollection also triggers redrawing of the view.
understood. Seems like scheduler.updateView does not trigger repainting of the current time marker.
If it’s possible, try using scheduler.setCurrentView instead, it should work correctly then.