Scale_height not working after update

I was using the v 6.06 and updated it to latest version 7.2.
Looking at the release notes I was doing the updates and found out xy.scale_height is not working anymore. Is there another way to make it work? It seems to be setting ‘dhx_cal_header’ to have 24px height not mattering what I set on the property.

Hello,

It’s recommended to place the custom view creation code inside the handler of the onTemplatesReady event. This ensures that scheduler.xy.scale_height is set correctly and applied during scheduler initialization.

Please check the example in the following snippet: DHTMLX Snippet Tool

Hi Artyom,

Thanks! It worked inside onTemplatesReady