Hi Oscar,
Thank you for contacting Syncfusion support.
We are also facing this issue while setting enumerations for toolbar items for Gantt in Angular platform and we have already logged a bug report regarding this and we are currently working on this issue. The fix for the issue will be available in our upcoming 2018 Volume 2 Service pack 1 release, which is expected to be roll out in the end of July 2018. Meanwhile we suggest you to use the toolbar items in Gantt as string to overcome this issue. Please refer the below code snippet
|
[TS]
constructor() {
this.toolbarSettings = {
showToolbar: true,
toolbarItems: ["prevTimeSpan", "nextTimeSpan"]
};
}
[HTML]
<ej-gantt id="GanttControl"
[dataSource]="ganttData"
taskIdMapping="taskID"
[toolbarSettings] = "toolbarSettings"
//..
>
</ej-gantt> |
Also please find the sample link below for your reference,
Please let us know if you require further assistance on this.
Regards,
Punniyamoorthi