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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Is it possible to subscribe to services without the dataManager and use the returned JSON object to populate the scheduler?

Thread ID:





142711 Feb 15,2019 08:51 PM UTC Feb 21,2019 03:48 AM UTC Angular - EJ 2 3
Tags: Schedule
Elise Rothberg
Asked On February 15, 2019 08:51 PM UTC

Hello :) 

I would like to use the scheduler very like your Room Scheduler example, but populate the room names with a JSON object that was returned from a service and populate the scheduled events with a different JSON object that is also returned from another service. (I would be parsing out the data I want for the scheduler from larger JSON objects)

I don't understand why a local JSON object is fine but not a dynamic one?

Is it possible to populate the scheduler in this manner?

Thank you,

P.S. I do not use VSCode so if you have the time to provide a sample, would it be possible to link to a Stackblitz example or just show the code here? Many, many thanks.

Nevitha Ravi [Syncfusion]
Replied On February 18, 2019 11:52 AM UTC

Hi Elise, 
Thank you for contacting Syncfusion Support. 
We have prepared a sample for assigning resource dataSource and event dataSource from a service which can be viewed from the following link. 
  public selectedDate: Date = new Date(2018, 3, 4); 
    public group: GroupModel = { 
        resources: ['Projects', 'Categories'] 
    public projectDataSource: Object[]; 
    public categoryDataSource: Object[]; 
    public allowMultiple: Boolean = true; 
    public data: Object[]; 
    public eventSettings: EventSettingsModel; 
    constructor(public  scheduledataservice:  Scheduledata) { 
    this.data  =  scheduledataservice.getEvents(); 
    this.projectDataSource  =  scheduledataservice.getProjectDataSource(); 
    this.categoryDataSource  =  scheduledataservice.getCategoryDataSource(); 
    this.eventSettings = { 
        dataSource: this.data, 

Elise Rothberg
Replied On February 20, 2019 06:58 PM UTC

Hi Nevitha,

Thank you- I was able to get the scheduler up and running. I really appreciate the Stackblitz!

Now for fine tuning...

Thanks again,

Karthigeyan Krishnamurthi [Syncfusion]
Replied On February 21, 2019 03:48 AM UTC

We are happy that our solution resolved your issue. 


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

Live Chat Icon For mobile
Live Chat Icon