I want to pass array of holidays
Hello Nitish,
To specify the work time settings, you need to use the setWorkTime
method:
https://docs.dhtmlx.com/gantt/api__gantt_setworktime.html
If you have an array of dates in the String
format, you need to convert each date to the Date
object and give it to the setWorkTime
method.
Here is an example of how it might be implemented:
http://snippet.dhtmlx.com/af84253ae