Our powerful JS Calendar component


Post by jeff.wang »

Hi,

how to disable the tooltips when click the event detail like below, i want to display another page when click the event detail:

 
 eventTooltip: false,//it is not effect
 
 eventClick(e: any) {
      showAnotherPage();
},

Image

thank you!


Post by mats »

Docs: https://bryntum.com/docs/calendar/api/Calendar/feature/EventTooltip

Set it to false:

new Calendar({
   features : {
       eventTooltip : false
   }

Post by jeff.wang »

yes, i have set the eventTooltip value to false like below , but the tooltip is still show .

  const features = {
    eventMenu: eventMenu,
    drag: {
      creatable: !onlyStartDate,
    },
    eventEdit: false,
    eventTooltip: false,
  };

Post by tasnim »

Hi,
As you're using React you need to replace the eventTooltip to eventTooltipFeature.
Please check docs: https://bryntum.com/docs/calendar/guide/Calendar/integration/react/guide#features

Here is a simple code snippet.

const calnedarConfig = {
	...
	eventTooltipFeature : false
}

Post by jeff.wang »

Hi,

That's ok, it is effect.

Thank you very much!

Jeff


Post Reply