Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

124
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda