Disabling the Scheduler Appointment Drag Option with edit being enabled

2 posts, 1 answers
  1. yashaswi pk
    yashaswi pk avatar
    7 posts
    Member since:
    Feb 2010

    Posted 18 Feb 2010 Link to this post

    Hi

    I want to disable the Scheduler default drag option , while the edit should be enabled for the cell. I am viewing the appointment as the Week view.
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 18 Feb 2010 Link to this post

    Hi,

    If you want to disable moving the appointments through dragging and still want to edit the appointment, then you can cancel the OnClientAppointmentMoveStart event using args.set_cancel(true) method.

    javascript:
     
     <script type="text/javascript">   
            function OnClientAppointmentMoveStart(sender, eventArgs)    
            {            
                eventArgs.set_cancel(true);   
            }   
     </script>  

    -Shinu.



Back to Top