# Get/Set Options Dynamically

> FullCalendar v3 documentation, for an old release. Web version: https://legacy.fullcalendar.io/v3/dynamic-options
>
> Latest version (v7): https://fullcalendar.io/docs/dynamic-options.md

You can get/set calendar options after a calendar has already been initialized.

## Getting

You can query for the current value of a calendar option:

```js
var locale = $('#calendar').fullCalendar('option', 'locale');
```

This will only return options that are global to the calendar. This method will *not* return [View-Specific Options](https://legacy.fullcalendar.io/v3/view-specific-options.md).


## Setting

Since version 2.9.0, it is possible to dynamically set options after initialization. These option modifications will be applied to all views. It is not currently possible to set [View-Specific Options](https://legacy.fullcalendar.io/v3/view-specific-options.md) in this manner.

You can dynamically set a single option:

```js
$('#calendar').fullCalendar('option', 'locale', 'fr');
```

Or if you would like to set multiple options at once, limiting the calendar to at most one repaint, pass in an option hash:

```js
$('#calendar').fullCalendar('option', {
  locale: 'fr',
  isRTL: true
});
```

## Exceptions

Some options need to be **manipulated through methods**:

- defaultDate - use [gotoDate](https://legacy.fullcalendar.io/v3/gotoDate.md) instead
- defaultView - use [changeView](https://legacy.fullcalendar.io/v3/changeView.md) instead

Event Sources should be dynamically manipulated through methods like [addEventSource](https://legacy.fullcalendar.io/v3/addEventSource.md) and [removeEventSource](https://legacy.fullcalendar.io/v3/removeEventSource.md). Thusly, dynamic setting of the following options is **not applicable**:

- events
- eventSources

Some options affect processing of event data. Dynamically setting them will *not* change current event data, but *will* take effect for **future event fetches**:

- defaultAllDayEventDuration
- defaultTimedEventDuration
- allDayDefault
- forceEventDuration
- eventDataTransform
- startParam
- endParam
- timezoneParam

Dynamic setting of some options is simply **not yet implemented**:

- handleWindowResize
- views
