# weekMode

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

Determines the number of weeks displayed in a month view. Also determines each week's height.

<div class='removed-notice'>
This method has been removed in v3.
In its place, use <a href='https://legacy.fullcalendar.io/v3/fixedWeekCount.md'>fixedWeekCount</a>, which controls the number of rows,
and the <a href='https://legacy.fullcalendar.io/v3/height.md'>height</a>/<a href='https://legacy.fullcalendar.io/v3/contentHeight.md'>contentHeight</a> settings, which can be set to <code>"auto"</code>.
</div>

<div class='spec' markdown='1'>
String, *default*: `'fixed'`
</div>

Available options:

`'fixed'`
:   The calendar will always be 6 weeks tall. The height will always be the same, as determined by
    [height](https://legacy.fullcalendar.io/v3/height.md), [contentHeight](https://legacy.fullcalendar.io/v3/contentHeight.md), or [aspectRatio](https://legacy.fullcalendar.io/v3/aspectRatio.md).
    *Use [fixedWeekCount](https://legacy.fullcalendar.io/v3/fixedWeekCount.md) as `true` instead.*

`'liquid'`
:   The calendar will have either 4, 5, or 6 weeks, depending on the month.
    The height of the weeks will stretch to fill the available height, as determined by
    [height](https://legacy.fullcalendar.io/v3/height.md), [contentHeight](https://legacy.fullcalendar.io/v3/contentHeight.md), or [aspectRatio](https://legacy.fullcalendar.io/v3/aspectRatio.md).
    *Use [fixedWeekCount](https://legacy.fullcalendar.io/v3/fixedWeekCount.md) as `false` instead.*

`'variable'`
:   The calendar will have either 4, 5, or 6 weeks, depending on the month.
    Each week will have the same constant height, meaning the calendar’s height will change
    month-to-month.
    *Use [height](https://legacy.fullcalendar.io/v3/height.md) as `"auto"` and [fixedWeekCount](https://legacy.fullcalendar.io/v3/fixedWeekCount.md) as `false` instead.*
