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

I want to display resources from my database table

Hi,

I have  tables named Users which includes Id, Name, RoleId, Imageurl and Roles table which includes Id and roles(service administrator, engineer), I want these to be displayed from my database to frond end on scheduler grid through api, please help me with this. 


1 Reply

RM Ruksar Moosa Sait Syncfusion Team December 6, 2022 02:05 PM UTC

Hi Swati,


We have prepared a sample to load the resources from the database. Run the shared remote data service sample and then run the stackblitz sample the resource data set to the Schedule from the database.


Sample: https://stackblitz.com/edit/ej2-angular-schedule-with-the-resources-and-urlad-x25mcz?file=app.component.html,app.component.ts

UG: https://ej2.syncfusion.com/angular/documentation/schedule/resources/#using-remote-service-url

Output:

Graphical user interface, application, table, Excel

Description automatically generated


Regards,

Ruksar Moosa Sait



Attachment: ResourceDataDataBaseDataManagerSample_fb6ba0f7.zip

Loader.
Live Chat Icon For mobile
Up arrow icon