t×tecexpressby TeKOcloud
DEv0.7.1
Data & views / VUE

TxScheduler.

Interactive preview

Day, week and month calendar with appointment editing. All-day end dates are exclusive; recurrence, resources and drag-and-drop are unavailable.

PropTypeDefaultMeaning
dataSourceTxSource<Appointment> | undefinedundefinedList, configuration or DataSource instance; takes precedence over items.
currentDateSchedulerDate | undefinedundefinedCurrent calendar date; update a controlled value for navigation.
currentViewSchedulerView | undefinedundefinedCurrent calendar view.
viewsSchedulerView[] | undefined["day","week","month"]Available calendar views.
firstDayOfWeeknumber | undefined1First weekday; 1 = Monday.
startDayHournumber | undefined8First visible hour of the day.
endDayHournumber | undefined18Last visible hour of the day.
cellDurationnumber | undefined30Calendar cell duration in minutes.
editingboolean | SchedulerEditing | undefinedtruePermissions to create, update and delete.
disabledboolean | undefinedfalseDisables interaction.
readOnlyboolean | undefinedfalsePrevents value changes.
loadingboolean | undefinedfalseShows the loading state.
localestring | undefinedde-DELocale for date/time formatting.
labelstring | undefinedTerminplanerLabel or accessible name.

Events

EventPayload / behavior
update:dataSourceNew dataSource value; accept using v-model:dataSource (modelValue: v-model).
update:currentDateNew currentDate value; accept using v-model:currentDate (modelValue: v-model).
update:currentViewNew currentView value; accept using v-model:currentView (modelValue: v-model).
appointmentClickAppointmentClickEvent: appointmentData, event.
cellClickSchedulerCellClickEvent: startDate, endDate, allDay, event.
appointmentAddingAppointmentChangeEvent with cancel before adding.
appointmentAddedAppointmentEvent after local insertion.
appointmentUpdatingAppointmentUpdatingEvent with oldData, newData and cancel.
appointmentUpdatedAppointmentUpdatedEvent with oldData and newData.
appointmentDeletingAppointmentChangeEvent with cancel before deleting.
appointmentDeletedAppointmentEvent after local deletion.

Slots

SlotArguments
appointment{ appointmentData, startDate, endDate, view }
vue
<script setup lang="ts">
import { ref } from 'vue'
import { TxScheduler, type Appointment } from '@tekocloud.de/tecexpress'
import '@tekocloud.de/tecexpress/themes/index.css'
const appointments = ref<Appointment[]>([{ id: 1, text: 'Meeting', startDate: new Date(2026, 9, 28, 9), endDate: new Date(2026, 9, 28, 10) }])
const calendarDate = ref(new Date(2026, 9, 28))
</script>

<template>
  <TxScheduler v-model:data-source="appointments" v-model:current-date="calendarDate" />
</template>