Hello,
The Typescript definitions for GridOptions.toolbar declare it only as GridToolbarItem[]. However in Javascript that setting also supports a string or function passed in to allow custom html templates.
The Typescript toolbar definition should either be changed to 'any', or use a union type of all options (Typescript 1.4).
regards,
Rowan
The Typescript definitions for GridOptions.toolbar declare it only as GridToolbarItem[]. However in Javascript that setting also supports a string or function passed in to allow custom html templates.
The Typescript toolbar definition should either be changed to 'any', or use a union type of all options (Typescript 1.4).
regards,
Rowan