Mark time sections and Units

Hi,

I saw that I can add TimeSpans by unit: docs.dhtmlx.com/doku.php?id=dhtm … timespan&s[]=marktime

In my scheduler-net I dont have this property “sections” when I config new DHXMarkTime() -

sections allows you to block date(s) just for specific items of the views. BTW, the specified date(s) will be blocked just in the related view(s) sections: { unit: 5, timeline: [2,3]} - blocks dates just for the item with the id=5 in the Unit view and items with the id=2, id=3 in the Timeline view

How can I use it?

Thanks.

Hello,
sections functionality doesn’t have server-side api yet, it will be added in the nearest time(maybe in a week or two).
For now you can use client-side api for this