Hello Syncfusion team,
Custom Gantt column templates stopped working after upgrading the @syncfusion/ej2-react-gantt NPM package from v19.4.55
to v24.1.44. The component renders empty cells for columns with custom templates. Here is the react code snippet:
private gridColumnProjectNumber = (project) => {
return (
<span>TEST</span>
);
}
public render() {
return (
<GanttComponent
dataSource={this.state.projectsToShow}
allowResizing={true}
allowFiltering={true}
allowSorting={true}>
<ColumnsDirective>
<ColumnDirective field='ProjectNumber' headerText='Project Number' width='140' template={this.gridColumnProjectNumber} />
<ColumnDirective field='Title' headerText='Project Name' width='270' />
</ColumnsDirective>
</GanttComponent>
);
}
Here is the output:
There are no errors or warnings related to the issue in the browser console.
Thanks