We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Thread ID:





117639 Nov 20,2014 04:58 PM UTC Nov 21,2014 01:24 PM UTC JavaScript 2
Tags: ejSchedule
Sergiy Tokarchuk
Asked On November 20, 2014 04:58 PM UTC

In samples to use ejSchedule : 

   var dManager = ej.DataManager({

                url: "http://mvc.syncfusion.com/OdataServices/Northwnd.svc"


// Query creation

   var queryString = ej.Query().from("Events").take(10);


$(function () {


                appointmentSettings: {

                    dataSource: dManager, query: queryString




But what if i don't want to create WCF Odata for schedule what if i have the method like this  http://mysrervice.svc/getsdata that return JSON   with fields Subject,ID,recurrence and all other fields. 
The question is how to parse JSON data to Schedule Appointments  ? 

Sergiy Tokarchuk
Replied On November 20, 2014 05:44 PM UTC

Figure out : 
 var       wd = [{
                Id: 100,
                Subject: "Bering Sea Gold",
                StartTime: new Date(new Date().setMinutes(new Date().getMinutes() + 6)),
                EndTime: new Date(new Date().setHours(new Date().getHours() + 2)),
                AllDay: false,
                Recurrence: true,
                RecurrenceRule: "FREQ=DAILY;INTERVAL=2;COUNT=10"
        Id: 101,
        Subject: "Bering Sea Gold",
        StartTime: new Date().setHours(4, 0),
        EndTime: new Date().setHours(5, 0),
        AllDay: false,
        Recurrence: false


            var dManager = ej.DataManager(wd);
                width: "100%",
                height: "525px",
                appointmentSettings: {
                    // the dManager collections
                    dataSource: dManager, ....

syncfusion Guys please make online docs BETTER !!! 

Krishna Priya Sethuramalingam [Syncfusion]
Replied On November 21, 2014 01:24 PM UTC

Hi Sergiy,

 Thanks for using syncfusion products.

Query 1: We are displaying the appointments based on the JSON data, so you are passing the JSON data, hence no need of any conversion. But we need to bind the "appointment fields" as mentioned in the below code snippet.


appointmentSettings: {


                    dataSource: dManager,

                    id: "Id",

                    subject: "Subject",

                    startTime: "StartTime",

                    endTime: "EndTime",

                    allDay: "AllDay",

                    recurrence: "Recurrence",

                    recurrenceRule: "RecurrenceRule"




We have attached sample for your reference and sample could be dowloaded from the following location.


Query 2:

We will update the document in our online location ASAP.

Please let us know, if you need any other assistance.


Krishna Priya.S


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon