Is it possible to get a reference to an existing toolbar (created by a template) on the grid and add a button to the toolbar? For clarity, just changing the toolbar template isn't an option for now.
Regards,
Pieter
1 Answer, 1 is accepted
0
Dimiter Topalov
Telerik team
answered on 19 Jul 2016, 03:00 PM
Hi Pieter,
You can use the following class to select the Grid toolbar:
.k-grid-toolbar
If you want to specify the specific Grid whose toolbar has to be accessed, the corresponding Grid element has to be added to the selector:
#grid .k-grid-toolbar
After getting the toolbar element, you can append/prepend the new element to it via JavaScript/jQuery: