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

Kendo Grid

1 Answer 365 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nekesh
Top achievements
Rank 1
Nekesh asked on 22 Feb 2018, 07:14 AM

I am using currently Angular 5 with Kendo UI (trial version).  It is giving me error pipe is not a function in service.ts. I used contents from below URL

 

https://www.telerik.com/kendo-angular-ui/components/grid/data-operations/data-binding/

 

1 Answer, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 22 Feb 2018, 12:49 PM
Hello Nekesh,

Due to breaking changes in the RxJS library, v. 5.5.x, the operators now need to be wrapped in a pipe() function call and passed in as parameters. We updated our packages accordingly to adapt to these changes:

https://www.telerik.com/kendo-angular-ui/components/grid/#toc-installation

https://github.com/telerik/kendo-angular/issues/1244

The described error suggests that the version of RxJS used in your application is older, there is a missing import, or another RxJS-related issue. Please make sure that you are using the latest versions of both our packages, and the RxJS library, and all related imports are in place, e.g. (from the mentioned demo):

import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { GridDataResult } from '@progress/kendo-angular-grid';
import { toODataString } from '@progress/kendo-data-query';
import { Observable } from 'rxjs/Observable';
import { BehaviorSubject } from 'rxjs/BehaviorSubject';
import { map } from 'rxjs/operators/map';

I hope this helps, but if the issue persists, we will need an isolated runnable project where it can be observed, so we can inspect it further and determine what might be causing it. Thank you in advance.

Regards,
Dimiter Topalov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Nekesh
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or