This sample demonstrates the usage of template columns in Gantt. In this sample, we have shown custom images in the Resources column.
The Gantt provides a way to use a custom layout for each cell using the column template feature. The columns->template property accepts either string or HTML element`s ID value, which will be used as the template for the cell. In this demo, using column template, resource column has been presented with employee photo, and the columns->template is assigned with the ID of a SCRIPT element whose content is used as the template. The template expression should be provided inside ${...} interpolation syntax Injecting Module: Gantt component features are segregated into individual feature-wise modules. To use selection, filter, sort, column menu, resize features, inject the Selection, Filter, Sort, ColumnMenu and Resize modules using the Gantt.Inject(Selection), Gantt.Inject(Filter), Gantt.Inject(Sort), Gantt.Inject(ColumnMenu) and Gantt.Inject(Resize) methods. More information on the Essential® JS2 Gantt Chart can be found in this documentation section.