Schedule with a lot of appointments

Posted by: fsegui on 9 February 2023, 5:01 am EST

  • Posted 9 February 2023, 5:01 am EST

    Hi,

    We’re using C1Schedule binded to database.

    Some of our customers have a lot of appointments (between 150 and 200 per week). In addition, we apply a custom format to display some specific text/apply a certain color.

    We’ve got two issues:

    • when the user moves an appointment, it’s slow
    • as there are a lot of appointments, text is not very readable

    Questions:

    • when moving an appointments, are they any events raised that I could cancel?
    • for the text, is there a possibility to wordwrap it?

    Thanks

  • Posted 10 February 2023, 5:41 am EST

    Hi Florent,

    1. To cancel the moving of specific appointments, you can use the BeforeAppointmentDrop event of the C1Schedule.

    Another workaround for the same is to handle the MouseDown event of the C1Schedule to check for your specific appointments and remove the AllowDrag flag from the EditOptions.

    We have attached two sample projects showing each of the above approaches.

    1. We noticed that the text in the appointments is automatically word-wrapped if the appointment’s width is insufficient to fit it. Is your implementation different than this? If so, please share the modified project with us so that we can look into it further.

    Attachment: Samples.zip

    Best Regards,

    Kartik

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels