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 documentation section.