Our pure JavaScript Scheduler component


Post by LMS2021 »

Hi Team,
Is it possible to have an hover text on the resource drop down based on conditions (if/else). PFA for more description

Attachments
Hover.png
Hover.png (180.4 KiB) Viewed 250 times

Post by marcio »

Hey,

You can do that using this configuration https://www.bryntum.com/docs/scheduler-pro/api/SchedulerPro/column/ResourceCalendarColumn#config-tooltipRenderer

Please note that you need to have the cellTooltip feature enabled.

features: { 
	cellTooltip: true
},
columns: [
        {
            text: 'Resource',
            field: 'name',
            width: 120,
            type: 'resourceInfo',
            tooltipRenderer : ({ record }) => {
                if(record.name === 'Angelo')
                    return record.name
            }
        },
]
// ... other configs

Best regards,
Márcio


Post Reply