5.7.3 Changing Events with Drag and Drop
If you enable drag and drop support, then the user can drag the event to a new starting day or time and they can drag its top edge or bottom edge to change the duration.
You only need to write the logic to update your event with the new start and end dates like this. APEX formats the start and end date values as a canonical 12-digit number representing a date like April 19th, 2025 at 9:30am as 202504190930. You reference APEX$NEW_START_DATE and APEX$NEW_END_DATE as bind variables along with APEX$PK_VALUE for the primary key of the meeting that the user modified.
update emp_meetings
set starts_at = to_date(:APEX$NEW_START_DATE, 'YYYYMMDDHH24MISS'),
ends_at = to_date(:APEX$NEW_END_DATE, 'YYYYMMDDHH24MISS')
where id = :APEX$PK_VALUE;Parent topic: Placing Events on a Calendar