According to the documentation, the toolbar property can take a string, function, or array of GridToolbarItem as it's value. The current definition file only allows for an array of GridToolbarItem.

see: http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-toolbar
This commit is contained in:
me
2016-03-09 15:50:52 +00:00
parent 3a86e056dc
commit fbe6fe9eec
+1 -1
View File
@@ -4438,7 +4438,7 @@ declare module kendo.ui {
scrollable?: GridScrollable;
selectable?: boolean|string;
sortable?: GridSortable;
toolbar?: GridToolbarItem[];
toolbar?: string | ((...args) => string) | GridToolbarItem[];
cancel?(e: GridCancelEvent): void;
change?(e: GridChangeEvent): void;
columnHide?(e: GridColumnHideEvent): void;