schedule CRUD using spring boot / angular and mysql

Hello Syncfusion,

I have a project with Angular and spring boot in which I used schedule Syncfusion .

I'm looking for a clear sample showing how i can connect the appointements with my local data base + CRUD (mysql)  






Thank you in advance 


1 Reply

SK Satheesh Kumar Balasubramanian Syncfusion Team March 30, 2022 02:25 PM UTC

Hi Yasmine,

 

You can use dataBinding event to achieve your requirement.

 

 

app.component.ts:   

  public data: object[] = [

    {

      Id: 3000,

      Subject: 'Local data event',

      StartTime: new Date(2022, 2, 30, 10, 0),

      EndTime: new Date(2022, 2, 30, 12, 30),

    },

  ];

  private dataManager: DataManager = new DataManager({

    url: 'https://ej2services.syncfusion.com/production/web-services/api/Schedule',

    adaptor: new WebApiAdaptor(),

    crossDomain: true,

  });

  onDataBinding(e: { [key: string]: Object }): void {

    e.result = (e.result as any).concat(this.data);

  }

 

Kindly try the above sample and let us know if this meets your requirement.

 

Regards,

Satheesh Kumar B


Loader.
Up arrow icon