WeekWorkingTimeDirective

12 Sep 20251 minute to read

e-week-working-times directive represent a working time ranges in a day.
It must be contained in a Gantt component(ejs-gantt).

<ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
  <e-week-working-times>
    <e-week-working-time dayOfWeek='Monday'></e-week-working-time>
    <e-week-working-time dayOfWeek='Monday'></e-week-working-time>
  </e-week-working-times>
</ejs-gantt>

Properties

dayOfWeek any

Defines the day of the week to apply customized working time.

Defaults to null

timeRange any

Defines the time range for each day of the week.

Defaults to []