Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

117
Views
How can i modify duration days with resourceTimelineWeek header

i using resourceTimelinePlugin, and always it displayed 7 days in the header, i need change that, how can i do that? my calendar

my calendarOptions json:

calendarOptions: CalendarOptions = {
plugins: [resourceTimelinePlugin, interactionPlugin, momentPlugin],
schedulerLicenseKey: ConstanteCalendario.schedulerLicenseKey,
headerToolbar: {
  left: "today prev,next",
  center: "title",
  right: "",
},
initialView: OpcionVistaCalendarioEnum.LineaTiempoRecursoSemana,
slotLabelFormat: [
  { weekday: "short", day: "2-digit" }, // lower level of text
],
firstDay: moment().day(),
resourceAreaColumns: [
  {
    field: "nombreJuez",
    headerContent: "Jueces",
  },
],
editable: true,
selectable: true,
unselectAuto: true,
slotDuration: { days: 1 },
droppable: true,
locale: "es",
views: {
  resourceTimelinePlugin: {
    type: 'timelineWeek',
  },
  week: {
    titleFormat: { year: "numeric", month: "long", day: "2-digit" },
    titleRangeSeparator: " hasta ",
  },
},
timeZone: ConstanteCalendario.timeZone,
displayEventTime: false,
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You can modify the duration of a custom view using 'duration', see https://fullcalendar.io/docs/duration. For instance, if you want to set up a separate view which allows you to view more days you can do that using https://fullcalendar.io/docs/v3/timeline-view. e.g.

type: 'resourceTimeline',
duration: { days: 3 },
buttonText: '3 days'
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!