> For the complete documentation index, see [llms.txt](https://brixxbox.gitbook.io/brixxbox-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brixxbox.gitbook.io/brixxbox-documentation/client-api-reference/functions/cancelcalendarchanges.md).

# cancelCalendarChanges

(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.

### Parameters

1. controlId - The id of the calendar control

### Example Usages

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