Jan366
(Jan Reinartz)
December 6, 2019, 10:52am
1
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
Jordi24
(Jordi Argente)
April 17, 2020, 9:26am
2
You finally got to show the tooltips?
I have the same problem
Thanks!
Marian35
(Marian Böhmer)
April 22, 2020, 1:06pm
3
I have the same problem, is there a way how to display an entry description in the FC?
Stefan.27
(Stefan Uebe)
May 11, 2020, 9:13am
4
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)
.