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

Problem with orderBy function from kendo-data-query Angular2

1 Answer 126 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mateusz
Top achievements
Rank 1
Mateusz asked on 20 Feb 2017, 11:52 AM

Hello.

Recently I have following problem. In grid component I want to use orderBy function to sort data in my table (like in the example). Of course everything works fine. Problem coming out when I try to run my tests (npm run test). I get the following error: "XHR error (404 Not Found) loading node_modules/@progress/kendo-data-query/dist/npm/main.js". I saw that in my *.js file compiler added "kendo-data-query" to System.register array. Is there any solution for that problem? I hope that you can understand my problem here.

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 22 Feb 2017, 09:00 AM
Hi Mateusz,

I'm afraid that I'm not sure what is the cause for the error you are getting looking at the provided info. From the description it seems that the kendo-data-query in not referenced correctly or is missing. However, the provided information is missing details about how exactly tests are setup or how the kendo-data-query is used. Therefore, please provide a simplified runnable sample which demonstrates the issue in question.

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