Tips for Blazor Schedule With Unique Model

Hi,

I'm currently trying to add a schedule component to a project I'm working on and I'm having some trouble seeing my data when I run tests. I am using a unique model for the data source and was wondering if that was the reason for the issues I'm currently having. Some of the fields in our database don't match all of the fields listed in the AppointmentData object that is frequently shown in the online templates. I would appreciate any help or tips that you can give!


1 Reply

SR Swathi Ravi Syncfusion Team October 8, 2024 10:52 AM UTC

Hi Zack Davis,

Thank you for contacting us!

The issue you're experiencing is likely due to the custom model you're using. When the fields in your data source don't align with the default AppointmentData fields in the Scheduler, you'll need to map your model's fields to the appropriate Scheduler fields. This will ensure that your appointments display correctly.

To assist you further, we've provided a sample and documentation that show how to bind custom field names to the Scheduler:


Please try this out, and feel free to reach out if you have any more questions or need further assistance. We're happy to help!
Regards,
Swathi

Loader.
Up arrow icon