/ Gantt / EventMarkerDirective
Search results

EventMarkerDirective API in Angular Gantt API component

e-event-markers directive represent a event marker collection in Gantt. It must be contained in a Gantt component(ejs-gantt).

<ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'>
  <e-event-markers>
    <e-event-marker day='02/10/2018' label='Project Starts'></e-event-marker>
  </e-event-markers>
</ejs-gantt>

Properties

cssClass

any

Specifies a custom CSS class for the event marker. This can be used to apply custom styles to the line and label of the marker.

Defaults to null

day

any

Specifies the date or day of the event marker. The value can be a Date object or a date string.

Defaults to null

label

any

Specifies the label for the event marker.

Defaults to null