This demo illustrates how to add the following items to the toolbar:
Declare a toolbar item element and specify the name and properties that you want to customize. If a control does not need customization, include its name only. Ensure that items contain controls for all features that you enabled in your DataGrid. In this demo, we enable the columnChooser and add the "columnChooserButton" to the items array.
Specify a template for your custom element within a toolbar item. In this demo, the custom element displays the total group count.