Our pure JavaScript Scheduler component


Post by sactory »

How can i add HTML property 'title' for event?

Pls support me, thank you so much.


Post by mats »

Would you strictly want the 'title' attribute, or may we interest you in a slightly nicer tooltip? Try https://bryntum.com/examples/scheduler/tooltips/

Docs: https://bryntum.com/docs/scheduler/api/Scheduler/feature/EventTooltip


Post by sactory »

i have done this task. Thanks


Post by mats »

All working as you want now?


Post by sactory »

I use tooltip for other features.


Post by sactory »

Yes. my solution:

eventMouseOver: ({ eventRecord, resourceRecord }) => {
          const data = this.scheduler.getElementFromEventRecord(
            eventRecord,
            resourceRecord
          );
          data.title = eventRecord.name;
        },

Post Reply