Our powerful JS Calendar component


Post by jack123abc »

eventtooltip.png
eventtooltip.png (47.5 KiB) Viewed 594 times

I tried to remove the eventtooltip, cos I used the popup info to show more detailed information. Is there any way I can disable this feature.

code as follows:

createCalendar(){
        window.calendar = new bryntum.calendar.Calendar({

        listeners: calendarListeners(this),
        appendTo : this.template.querySelector('.calendar'),

        // Start life looking at this date
        date : new Date(2021, 8, 16),

        eventStore : {
            //data : this.pmgsEvent
            data : this.pmgsList
        },
        resourceStore : {
            data : this.pmgsResource
        },

        // Features named by the properties are included.
        // An object is used to configure the feature.
        features : {
            /*eventTooltip : {
                // Configuration options are passed on to the tooltip instance
                // We want the tooltip's left edge aligned to the right edge of the event if possible.
                align : 'l-r'
                //disabled : true
            }*/
            eventTooltip: {
                disabled: true
            },
        }
    });
}

Post by jack123abc »

I used eventTooltip--> disabled:true, but it is still here.


Post by mats »

Looks like a bug, try:

features : {
            eventTooltip:false
        }

Post by jack123abc »

thanks, mats, it can work with your suggestion.


Post Reply