We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Tooltip template for specific view

Is it possible to configure a tooltip for each views? I want to show a tooltip in Month view and Week View, for example.

Thanks

3 Replies

KK Karthigeyan Krishnamurthi Syncfusion Team May 10, 2019 05:06 AM UTC

Dear Customer,   
  
Greetings from Syncfusion.  
 
We can achieve your requirement using actionComplete event and kindly refer the below sample. 
 
var scheduleObj = new ej.schedule.Schedule({ 
  width: '100%', 
  height: '650px', 
  selectedDate: new Date(2019, 0, 10), 
  eventSettings: { 
    dataSource: data, 
    enableTooltip: true 
  }, 
  actionComplete: OnActionComplete 
}); 
scheduleObj.appendTo('#Schedule'); 
 
function OnActionComplete(args) { 
  if (this.currentView === "Week" || this.currentView === "Month") 
    this.eventSettings.enableTooltip = true; 
  else 
    this.eventSettings.enableTooltip = false; 
} 
 
Regards, 
Karthi 



S_ S_Line May 10, 2019 11:59 AM UTC

Thank you! work like a charm!


KK Karthigeyan Krishnamurthi Syncfusion Team May 13, 2019 03:17 AM UTC

Most welcome 😊 


Loader.
Live Chat Icon For mobile
Up arrow icon