Vuepreview
Source

FullScheduler documentation

Agency Resource Planning

Allocate roles, color by project, and show KPI chips in event template.

← All use cases

Allocate people to projects; show KPI chips and roles directly in event templates.

Event template

schedulerApi.setEventTemplate((e: FullSchedulerEvent) => {
  return `
  <div class="event-chip role-${e.data.role}">
    <span class="name">${e.label}</span>
    <span class="kpi">${e.data.load}%</span>
  </div>`
})

Bulk update by project

const events = schedulerApi.updateEvents(e => e.data.projectId === 42, {}) || []
for (const event of events) {
  schedulerApi.updateEvents(e => e === event, {
    data: { ...event.data, status: 'on-track' }
  })
}

Tips

  • Use colors to align with your design system.
  • Add role-specific icons/emojis in the template.

Put it into practice

Start with the installation guide, then explore the APIs behind this example.