You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is the ability to configure different working time rules for different periods of time by using the **customWeeks** attribute of the [setWorkTime](api/gantt_setworktime.md) method. For instance, you can change the default working time for winter months:
Note, each next call of the method for the same date will re-write the previous working-time rule. So, if you need to unset some rule, call the api/gantt_setworktime.md method with other configuration:
215
243
216
244
~~~js
217
245
gantt.setWorkTime({hours:["8:00-12:00"]});
218
246
gantt.setWorkTime({hours:["13:00-17:00"]});
219
-
//the result of following commands will be the working time 13:00-17:00
247
+
//the result of the above commands will be the working time 13:00-17:00
0 commit comments