Skip to main content

ColumnHeaderFormats

Namespace: Wisej.Web.Ext.FullCalendar

Assembly: Wisej.Web.Ext.FullCalendar (4.1.0.0)

Represents the column header formats for the different views.

public class ColumnHeaderFormats

The instance is returned by HeaderFormats.

Properties​

Instance member DayViewFormat​

String: Returns or sets the text that will be displayed on the column headings in the day view using momentjs format patterns: http://momentjs.com/docs/#/displaying/format/.

Applies to the day views (BasicDay and AgendaDay). Returns "Default" when not set, in which case the format of the current locale is used. Setting it to null or an empty string restores the default. Setting the property recreates the calendar on the client.

Example:

Setting the column header format:

this.fullCalendar1.HeaderFormats.DayViewFormat = "dddd, MMMM D";

Instance member MonthViewFormat​

String: Returns or sets the text that will be displayed on the column headings in the month view using momentjs format patterns: http://momentjs.com/docs/#/displaying/format/.

Applies to the Month view, where the headings show the days of the week. Returns "Default" when not set, in which case the format of the current locale is used. Setting it to null or an empty string restores the default. Setting the property recreates the calendar on the client.

Example:

Setting the column header format:

this.fullCalendar1.HeaderFormats.MonthViewFormat = "dddd";

Instance member WeekViewFormat​

String: Returns or sets the text that will be displayed on the column headings in the week view using momentjs format patterns: http://momentjs.com/docs/#/displaying/format/.

Applies to the week views (BasicWeek and AgendaWeek). Returns "Default" when not set, in which case the format of the current locale is used. Setting it to null or an empty string restores the default. Setting the property recreates the calendar on the client.

Example:

Setting the column header format:

this.fullCalendar1.HeaderFormats.WeekViewFormat = "ddd M/D";