fullCalendar vertical resource view issue

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

26 Jan 2018, 10:09

Can you provide a test case for us like a plunkr? (http://plnkr.co/edit/6q5v84DWolH6DeAdi70w?p=preview)

AkshaySamcom
Posts: 1
Joined: 01 Aug 2018, 13:45

01 Aug 2018, 13:54

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

Post Reply

Return to “Serenity - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests