Example of Toolbar Template in ASP.NET Core Tree Grid Control
This demo explains how to render custom template elements in a toolbar by which any custom operation can be performed in Syncfusion Essential JS2 TreeGrid.
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, rendered the custom template element Quick Filter
along with predefined
toolbar items ExpandAll and CollapseAll.
While click on the Quick Filter
button the column "Task Name" is filtered with the value "Testing".
More information on the Toolbar Template can be found in this documentation section.