Scrollbar appearing after new item

Hi Hope someone can help

I’ve got two pages using the same script library (dhtmxscheduler.js) and css files. However one page (initial load) will display the right hand spacer for the scrollbar then hide it. Consequently when a new item is added it re-adds spacer for the right hand scrollbar moving everything along to the left - what is causing this issue.

TIA

Andrew

Hello,

We will need complete sample where we can reproduce this issue or link to your page.

Best regards,
Ilya

Hi please find attached a folder containing two pages. You will see the recording.html is fine but the recording configuration.html realigns when a new item is added

Cheers

Andrew
NVR_bug.zip (176 KB)

Any thoughts on this

Hello,

You are calling “initScheduler” function to soon. Use window onload or document ready event instead.

Best regards,
Ilya

Excellent thank you - works a charm