This sample explains the way of rendering built-in and custom toolbar items at the same time.
Custom toolbar items can be added by defining the toolbar as a collection of ItemModels. Actions for this customized toolbar items are defined in the toolbarClick event.
In this sample, the custom toolbar elements Quick Filter and Clear Filter are rendered
along with predefined toolbar items ExpandAll and CollapseAll. While clicking the Quick Filter toolbar item, filtering occurs for the Task Name column. The filtered column can be cleared using the Clear Filter toolbar item.
Gantt component features are segregated into individual feature-wise modules.To use selection, filter, toolbar and marker features, we need to inject the
Selection , Filter , Toolbar and DayMarkers into the Inject Services section.
More information on the Essential® React Gantt Chart can be found in this documentation section.