Page 1 of 1

Re: fullCalendar vertical resource view issue

Posted: 26 Jan 2018, 10:09
by merve7
Can you provide a test case for us like a plunkr? (http://plnkr.co/edit/6q5v84DWolH6DeAdi70w?p=preview)

Re: fullCalendar vertical resource view issue

Posted: 01 Aug 2018, 13:54
by AkshaySamcom
hello,
i need to add resources like

https://fullcalendar.io/docs/vertical-resource-view

i tried lots of examples but i can't get resources in p-schedule

Code: Select all

<p-schedule [events]="events" [options]="optionConfig" (onDayClick)="dayClickevent($event, content)" (onEventClick)="eventclick($event, content)"
          [header]="header" [defaultDate]="minDate" [eventStartEditable]="false" [eventLimit]="4" [editable]="true"></p-schedule>

Code: Select all

this.optionConfig = {
      defaultView: 'agendaDay',
      groupByResource: true,
      resourceGroupField: 'id',
      resources: [
        { id: 'a', title: 'Room A' },
        { id: 'b', title: 'Room B' }
      ]
    };
this is my code but i can't resources like above example of fullcalendar vertical-resource-view