Example of Toolbar Template in ASP.NET MVC Gantt Chart Control
This sample explains the way of rendering built-in and custom toolbar items at the same time.
DEMO
SOURCE
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 element Quick Filter
and Clear Filter
is rendered
along with predefined toolbar items ExpandAll and CollapseAll.
While clicking the Quick Filter
toolbar item, the filtering occurs for Task Name
column.Filtered column can be cleared using Clear Filter
toolbar item.