Ticket T1279994
Visible to All Users

Scheduler for Blazor - Set edit and drag parameters for each different appointment

created 5 days ago

I want to set edit and drag parameters for each different appointment, for example red appointment is allowed to edit, but blue appointment is not allowed to edit and drag. When I stop clicking on blue appointment, when I drag red appointment I need to click on it first.
Clipboard-File-1.png


I am using SelectedAppointmentChanged to set AllowEditAppointment

Comments (1)
KV KV
Keanu Villanueva (DevExpress Support) 2 days ago

    Hello,

    Please give me additional time to investigate the issue. I will follow up once I have news to share.

    Thank you in advance for your patience.

    Answers approved by DevExpress Support

    created 20 hours ago

    Hello Ichigo,

    In v24.2, we introduced the DxScheduler.AppointmentStartDragging event. We recommend upgrading to this version to be able to use the AppointmentStartDragging event.

    After updating your DevExpress version to v24.2, you can use the event argument's Cancel property in the AppointmentStartDragging event handler to cancel the drag operation. Please refer to the solution in the following help topic: DxScheduler.AppointmentStartDragging Event | Blazor | DevExpress Documentation.

    Note: The code snippet in the help topic is for demonstration purposes only. Feel free to modify and extend it according to your usage requirements, specifically the conditional statements used in the AppointmentStartDragging event handler.

    Regards,
    Keanu

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.