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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Tooltip template for specific view

Thread ID:

Created:

Updated:

Platform:

Replies:

144519 May 9,2019 08:43 PM UTC May 13,2019 03:17 AM UTC JavaScript - EJ 2 3
loading
Tags: Schedule
S_Line
Asked On May 9, 2019 08:43 PM UTC

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

Karthigeyan Krishnamurthi [Syncfusion]
Replied On 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_Line
Replied On May 10, 2019 11:59 AM UTC

Thank you! work like a charm!

Karthigeyan Krishnamurthi [Syncfusion]
Replied On May 13, 2019 03:17 AM UTC

Most welcome 😊 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon