From fbe6fe9eece4b1115348ac9c33b1cef614a0b5ce Mon Sep 17 00:00:00 2001 From: me Date: Wed, 9 Mar 2016 15:50:52 +0000 Subject: [PATCH] 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 --- kendo-ui/kendo-ui.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kendo-ui/kendo-ui.d.ts b/kendo-ui/kendo-ui.d.ts index f1a72d57c..121ead425 100644 --- a/kendo-ui/kendo-ui.d.ts +++ b/kendo-ui/kendo-ui.d.ts @@ -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;