Current time in timeline view

Hi

I can see the option “scheduler.config.mark_now” overlays a dotted line to display the current time in day and week view…

Is it possible to show current time like this in the timeline view?

Many thanks from Spain!

Elliot

Not possible for now, but will be added as part of next version.

Ok, thanks for the quick response!

Has this feature been added in version 3.5?

I would really like to use it! :slight_smile:

Hello,

It has been added, go ahead and try it out :slight_smile:

Best regards,
Ilya

I tried setting

scheduler.config.mark_now=true;

but as soon as i hit the today button i do not see any marker in the timeline view.

Do i have to do something elese? Maby style the line ?

Right, I forgot to mention that this logic was moved to limit extension so you need to include it as well.
dhtxmlscheduler_limit.js

Best regards,
Ilya

The correct file name is:

dhtmlxscheduler_limit.js

Hopefully that’ll save someone else 15 minutes of fault finding :wink:

I can see the red line in the day view and the week view, but it doesn’t appear in the timeline view of 3.5.
Is there something else we must do?

you have to place the dhtmlxscheduler_limit.js before dhtmlxscheduler_timeline.js then you will see the current time in timeline view.

but if i do this, then i got an “undefinded” error when i switch to day, month or week view.

could anybody help!?