Skip to content

Event Calendar

Event Calendar is a component that allows you to manage time and schedule events.
The display mode can be selected as daily, weekly, monthly, agenda, timeline.

Property

NoItemInput ValueDefault ValueAction PropertyTypeAction Default ValueDescription
1IDStringAuto-generatedidstringAuto-generatedThe [id] property cannot be set by actions.
2WidthNumber1000widthnumber1000Component width
3HeightNumber550heightnumber550Component height
4XNumberxnumberX coordinate position
5YNumberynumberY coordinate position
6Read OnlyBooleanOFFreadOnlybooleanRead-only mode
7VisibilityBooleanONvisibilitybooleanDisplay state
8SidebarBooleanONsidebarbooleanSidebar display
9TodayBooleanONtodaybooleanToday button display
10AgendaBooleanOFFagendabooleanEnable agenda mode
11TimelineBooleanOFFtimelinebooleanEnable timeline mode
12Event Info On ClickBooleanONDisplay information when event is clicked
13ModeSelection
1. Day
2. Week
3. Month
4. Agenda
5. Timeline
DaymodestringdayDisplay mode
14DateString2024-02-20datestringInitial display date
15LocaleSelection
1. English
2. Japanese
EnglishLanguage setting
16CalendarsTable format
[Details 1]
[Details 1]calenarsarray of object[Details 1]Calendar event type settings
17SectionsTable format
[Details 2]
[Details 2]sectionsarray of object[Details 2]Timeline section settings
18ValueTable format
[Details 3]
[Details 3]valuearray of object[Details 3]Event data
19Add EventSelection
1. None
2. Action
ActionAction when creating events
20Update EventSelection
1. None
2. Action
ActionAction when editing events
21Delete EventSelection
1. None
2. Action
ActionAction when deleting events
22SelectedselectedobjectSelected event

[Details 1] Calendars

Get and set options for calendar event types. The format of the value is an object array. The default state is registered as follows. Register each row from the "Add" link. To delete a row, select the check box of the row to be deleted and click the "Delete" link

IDLabelBackgroundBorder
workWork#3AA3E3#098CDC
meetingMeeting#9585EF#7A67EB
restRest#BD69BC#AD44AB
otherOther#84BF70#61A649

To handle data in an action, set the calendars in the form of an array of objects, as in the following example:

[{"id":"work","label":"Work","background":"#3AA3E3","border":"#098CDC"},{"id":"meeting","label":"Meeting","background":"#9585EF","border":"#7A67EB"},{"id":"rest","label":"Rest","background":"#BD69BC","border":"#AD44AB"},{"id":"other","label":"Other","background":"#84BF70","border":"#61A649"}]

[Details 2] Sections

When the display mode is “Timeline”, events can be displayed by section. Get and set the ID, label, and avatar image information for that section. The format of the value is an object array. The default state is registered as follows. Register each row from the "Add" link. To delete a row, select the check box of the row to be deleted and click the "Delete" link.

IDLabelImage
1Section 1https://template-ui-image.webperformer.jp/image/Avatar1.jpg
2Section 2https://template-ui-image.webperformer.jp/image/Avatar2.jpg
3Section 3https://template-ui-image.webperformer.jp/image/Avatar3.jpg

To handle data in an action, set the sections in the form of an array of objects, as in the following example:

[{"id":"1","label":"Section 1","image":"https://template-ui-image.webperformer.jp/image/Avatar1.jpg"},{"id":"2","label":"Section 2","image":"https://template-ui-image.webperformer.jp/image/Avatar2.jpg"},{"id":"3","label":"Section 3","image":"https://template-ui-image.webperformer.jp/image/Avatar3.jpg"}]

[Details 3] Value

Get and set values for the entire event calendar. The format of the value is an object array. The default state is registered as follows. Register each row from the "Add" link. To delete a row, select the check box of the row to be deleted and click the "Delete" link

IDStart DateEnd DateAll DayEvent NameDescriptionCalendar IDSection ID
12024-02-20T09:00:002024-02-20T11:00:00Checkbox : OFFTask organizationProject progresswork1
22024-02-20T13:00:002024-02-20T15:00:00Checkbox : OFFDesign meetingSoftware architecturemeeting1
32024-02-20T00:00:002024-02-20T00:00:00Checkbox : ONRemote workother1

To handle data in an action, set the value in the form of an array of objects, as in the following example:

[{"id":"1","start_date":"2024-02-20T09:00:00","end_date":"2024-02-20T11:00:00","all_day":false,"event_name":"Task organization","description":"Project progress","calendar_id":"work","section_id":"1"},{"id":"2","start_date":"2024-02-20T13:00:00","end_date":"2024-02-20T15:00:00","all_day":false,"event_name":"Design meeting","description":"Software architecture","calendar_id":"meeting","section_id":"1"},{"id":"3","start_date":"2024-02-20T00:00:00","end_date":"2024-02-20T00:00:00","all_day":true,"event_name":"Remote work","description":"","calendar_id":"other","section_id":"1"}]

Event

Event nameDescription
onclickAdd Event
  • Occurs when saving a new event.
  • Update Event
  • Occurs when editing and saving a registered event.
  • Delete Event
  • Occurs when deleting a registered event.