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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to bind different data structure with ejs-scheduler?

Thread ID:

Created:

Updated:

Platform:

Replies:

150898 Jan 23,2020 03:31 PM UTC Jan 27,2020 05:24 AM UTC Angular - EJ 2 3
loading
Tags: Schedule
Parthkumar Kakadiya
Asked On January 23, 2020 03:31 PM UTC

Hi,

First of all Thank you very much for your work and support.  I am working with Angular 8 Application and i am using ejs-schedule.

Now I would like to bind data structure given below to the schedule and display event. How could i do it?

Data structure: 

[
  {
    "id": 1102,
    "produktname": null,
    "ort": "string",
    "beschreibung": "string",
    "datum_von": "2020-01-01",
    "zeit_von": "12:30",
    "datum_bis": "2020-01-01",
    "zeit_bis": "11:30",
    "kalendar_art": 1,
    "termin_zustand": 0,
    "veranstaltungskategorie_id": null,
    "spiel_id": 10004804,
    "warnung_entfernung": null,
    "warnung_konflikt": null,
    "prodprod_id": null,
    "prodspiel_id": null,
    "prodwerk_id": null,
    "abkoTerminId": null,
    "betBetriebsKalendarId": 1052
  }
]
Please help me with it. Just expecting to bind few field.
Regards,Parth

Vengatesh Maniraj [Syncfusion]
Replied On January 24, 2020 09:01 AM UTC

Hi Parthkumar, 

Greetings from Syncfusion Support. 

Based on your requirement, we have prepared a sample in that we can able to see the additional fields are added to the events using eventRendered event and it can be viewed from the following link, 

And for further reference, kindly refer the below UG link, 

Kindly try the above sample, if you have any concerns please revert us back for further assistance.  

Regards,  
Vengatesh 


Parthkumar Kakadiya
Replied On January 24, 2020 12:16 PM UTC

Hi Vengatesh,

Thanks a lot for your solution. I understood the binding with the help of your solution.. Just to make it clear, Right now there is no two-way binding for resource data and schedule data.

I mean if i change the resource data or event data i must always re-assign the data to the schedule right..

Thanks again, Have a nice day and weekend.

Regards,
Parth

Vengatesh Maniraj [Syncfusion]
Replied On January 27, 2020 05:24 AM UTC

Hi Parthkumar, 

Thanks for the update.  

Yes, currently there is no two-ways binding for resource data and events data. This is our default behavior for Schedule component. If we need to change this, we must re-assign it to the Schedule. 

Please let us know if any further assistance. 

Regards, 
Vengatesh 


CONFIRMATION

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