logo

FullCalendar

These are the new v4 docs! More info
requires Scheduler lightning bolt

resourceRender

A hook for manipulating a resource’s DOM.

function( renderInfo )

The renderInfo argument is an object with the following properties:

resource

The Resource Object being rendered.

el

The DOM element that represents this resource. Most likely a <td> that wraps the resource’s title.

view

The current View.

Example:

var calendar = new Calendar(calendarEl, {

  resourceRender: function(renderInfo) {
    renderInfo.el.style.backgroundColor = 'blue';
  }

});

See an example of resourceRender with timeline view and with vertical resource view.

This callback will not allow manipulating of event elements, as they will not yet have been drawn at the time of invocation. Use eventRender for that.