---
description: >-
  (Beta) Cancels the drag or edit operation that triggered the OnEventChange
  event and moves all events back to their origin position. Must be used inside
  the OnEventChange event.
---

# cancelCalendarChanges

### Parameters

1. controlId - The id of the calendar control

### Example Usages

```javascript
    brixxApi.cancelCalendarChanges("myCalendar");
```
