Hi Stefan, is it possible to add Tooltips to and Entry?

Hi Stefan,

  • is it possible to add Tooltips to an Entry?
  • how to remove the weekend days?

Entry is not up to date after drag and drop or resize.
My Code:

calendar.addEntryDroppedListener(e -> {
			System.out.println(e.getEntry().getEnd().getDayOfWeek());
			System.out.println(e.getEntry().getEnd().getHour() + ":" + e.getEntry().getStart().getMinute());
		});
		
calendar.addEntryResizedListener(e -> {
			System.out.println(e.getEntry().getEnd().getDayOfWeek());
			System.out.println(e.getEntry().getEnd().getHour() + ":" + e.getEntry().getStart().getMinute());
		});

i use:

  • Vaadin 14.1.0
  • calendar - 2.0.0
  • Plain Java Servlet

You finally got to show the tooltips?
I have the same problem

Thanks!

I have the same problem, is there a way how to display an entry description in the FC?

Hi guys, sorry for the delayed answer.

You can create tooltips by using the entry render functionality (this might need to install additional client side libraries as the FC does not provide a tooltip library out of the box).

Please have a look here how the custom entry rendering works (in the client side library an entry is named event, so please no confusion about the wording :) ).

https://fullcalendar.io/docs/eventRender

You can simply set this JS callback function in Java by using the FullCalendar’s method setEntryRenderCallback(String).