1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

How to make the content of full calendar scrollable horizontally

Discussão em 'Angular' iniciado por flaw, Junho 30, 2025.

  1. flaw

    flaw Guest

    I am using a full-calendar component from fullcalendar version ^6.1.8 on Angular 15, and I want to make the view of the calendar scrollable at certain widths above 500px, because on mobile, days look so thin.

    [​IMG]

    I want the red box to be scrollable and the yellow part to stay the same, both come as a whole in this component.

    <full-calendar *ngIf="calendarVisible" [options]="calendarOptions" #fullCalendar>
    <ng-template #eventContent let-arg>
    <span>
    {{ arg.event.title }}
    </ng-template>
    </full-calendar>


    I tried adding dayMinWidth to the calendar options here:

    this.calendarOptions = {
    plugins: [
    interactionPlugin,
    dayGridPlugin,
    timeGridPlugin,
    listPlugin,
    ],
    headerToolbar: {
    left: 'prev,next',
    right: ''
    },
    dayMinWidth:'200'
    /*
    ...other atttributes
    */
    };
    }


    ...But it gives me this error: No ScrollGrid implementation.

    Is there any attribute to add that makes it scrollable horizontally at a certain width?

    Continue reading...

Compartilhe esta Página