This is a migrated thread and some comments may be shown as answers.

The 5.1.1 update to kendo-angular-buttons is breaking the grid compile.

1 Answer 650 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Shaun
Top achievements
Rank 1
Shaun asked on 07 Jan 2020, 09:11 PM

I'm getting errors with the grid component on build. It appears a recent update to the buttons package is the cause. The update remove a click method but the button components in the grid package is relying on that method to be there. 

Current versions of both packages:
@progress/kendo-angular-buttons: 5.1.1
@progress/kendo-angular-grid: 4.6.0

Example of compile error:

ERROR in node_modules/@progress/kendo-angular-grid/dist/es2015/editing/add-command.directive.d.ts(30,5): error TS2416: Property 'click' in type 'AddCommandDirective' is not assignable to the same property in base type 'ButtonDirective'.  Type '(e: any) => void' is missing the following properties from type 'EventEmitter<any>': __isAsync, emit, subscribe, observers, and 18 more.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimiter Topalov
Telerik team
answered on 08 Jan 2020, 09:08 AM

Hi Jim,

There was an issue caused by the latest version of the Buttons package that led to conflicting names when buttons are used within the Grid. We addressed it immediately and released a 4.6.1 version of the Grid package that contains the fix:

https://www.telerik.com/kendo-angular-ui-develop/components/grid/changelog/

Upgrading to the latest Grid version should resolve the problem.

I apologize for the caused inconvenience.

Regards,
Dimiter Topalov
Progress Telerik

Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Shaun
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or