How to drag and drop records from Grid to the Schedule control and vice versa?
The following steps helps you to drag and drop records from Grid to the Schedule control and vice versa
Step 1: Create an MVC application and include the default Schedule and Grid control in it by referring the following links,
Step 2: Define the DragStop event for Scheduler and RowDrop event for Grid with appropriate handler.
Step 3: onDragStop and rowDropHandler is a function within which the code to drag and drop appointment/record from Schedule and Grid are defined as shown in the below code example,
Step 4: Run the sample and now you can drag and drop the appointments from Schedule to Grid and vice versa as shown in the below images,
Figure 1: Record is drag and dropped to Schedule from Grid.
Figure 2: Appointment is drag and dropped to Grid from Schedule.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|