GridOptions does not contain the correct definition of the toolbar property

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 16:43:20 +00:00
parent fbe6fe9eec
commit a3e861ee3d
+1 -1
View File
@@ -4438,7 +4438,7 @@ declare module kendo.ui {
scrollable?: GridScrollable;
selectable?: boolean|string;
sortable?: GridSortable;
toolbar?: string | ((...args) => string) | GridToolbarItem[];
toolbar?: string | ((...args:any[]) => string) | GridToolbarItem[];
cancel?(e: GridCancelEvent): void;
change?(e: GridChangeEvent): void;
columnHide?(e: GridColumnHideEvent): void;