EventSettings by view

I am currently implementing a schedule component with our app and I am curious if it is possible to do certain eventSettings by view. I would like the enableTooltip setting on for the monthly view, but off for the agenda. Is this possible?

1 Reply

KK Karthigeyan Krishnamurthi Syncfusion Team May 15, 2019 05:03 AM UTC

Hi Brett,  
 
Greetings from Syncfusion.   
  
Yes, we can achieve your requirement using actionComplete event and kindly refer the below sample. 
 
onActionComplete(args) { 
    if (this.scheduleObj.currentView === "Week" || this.scheduleObj.currentView === "Month") 
      this.scheduleObj.eventSettings.enableTooltip = true; 
    else 
      this.scheduleObj.eventSettings.enableTooltip = false; 
  } 
 
Regards, 
Karthi 


Loader.
Up arrow icon