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

kendo.data.DataSource in Node.js

1 Answer 507 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 17 May 2017, 03:39 PM

I've been using the Kendo DataSource for a while now on the browser side, so I've gotten used to all of its great features.  I want to use it on the server side in a Node.js app.  Is this even possible?

I installed kendo-ui-core because I don't care about any of the other pro features, just the DataSource.

npm install --save kendo-ui-core

 

when I do

var kendo = require("kendo-ui-core");

I get a "ReferenceError: window is not defined" which leads me to believe that it's not possible since it's trying to use the window object which is not available in Node.

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 19 May 2017, 10:05 AM

Hello Chris,

You can have a look at this official repository, which shows the currently available ways of using the Kendo UI Core npm package. You will notice that in the main.js file you have to also require jQuery.

You can find additional information about the installation procedure in this article

I hope this helps. In case you have any other questions, please do not hesitate to contact us.

Regards,
Dimitar
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
Data Source
Asked by
Chris
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or