Axelor Doc

Calendar views

Here is a sample schedule for:

<calendar name="widgets-demo-calendar-calendar" title="Demo calendar entries"
    mode="month" colorBy="responsibleId" eventStart="startDate" eventStop="endDate"
    eventLength="1">
    <field name="task" />
</calendar>
  • editable = true|false détermine si la vue est éditable ou non
  • mode - mode initial : mois, semaine ou jour (month, week or day)
  • colorBy - champ à utiliser pour grouper les entrées calendrier par couleur
  • eventStart - Champ date ou datetime à utiliser comme début
  • eventStop - Champ date ou datetime à utiliser comme fin
  • eventLength - durée en heures (par défaut 1)

The title of the calendar entry is the name of the first entry <field> entry.

If the optional field eventStop is not entered, the field eventLength is used to determine the end of the calendar entry.

Here are examples of fashion month view calendar, week and day below.

The advantage of a calendar view is to move the entries with the mouse to change the monthly update mode, and change the start and end in weekly or daily mode.

Calendar views Calendar views Calendar views