mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-29 12:40:34 +08:00
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:
1 parent
3a86e056dc
commit
fbe6fe9eec
1 file changed
+1
-1
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user