logo

FullCalendar

This version is a pre-release. Read the release notes
requires Scheduler lightning bolt

Resource::remove

Programmatically removes a resource from the calendar.

resource.remove()

Example:

var calendar = new Calendar(calendarEl, {
  resources: [
    { id: 'a', title: 'Resource A' },
    { id: 'b', title: 'Resource B' }
  ]
});

var resourceA = calendar.getResourceById('a');

resourceA.remove();