Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendar should redo layout when appointments are setVisible(false) #13

Closed
GoogleCodeExporter opened this issue Sep 9, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Description of the new feature:
I would like the ability to make appointments invisible(using
setVisible(bool)) and have the calendar redo the layout so that visible
events will now be layed out without making space for appointments that are
not visible but still in the same time slot.


Use Case:
On a single day there is two appointments; Appointment 1 and Appointment 2.
 Appointment 1 stars at 10:00 and runs until 15:00.  Appointment 2 starts
at 13:00 and runs until 14:00.

Initially Appointment 1 and Appointment 2 have a size of 1/2 the day's
width because they overlap.

Setting Appointment 1's visibility to false using setVisible(false) causes
the calendar to redo the layout making Appointment 2 resize to be the full
size of the day.

Original issue reported on code.google.com by SpaceRoo...@gmail.com on 8 Sep 2009 at 8:18

@GoogleCodeExporter
Copy link
Author

The "Visible" property will not exist for appointments in gwt-cal 0.9.0. The 
Appointment class no longer extends a gwt Widget. It is now a simple pojo.

The ability to "hide" appointments will be the responsibility of the client 
implementing gwt-cal. You will need to add/remove appointments from the list 
and 
refresh the layout to show/hide appointments.

Original comment by Brad.Ryd...@gmail.com on 21 Dec 2009 at 12:34

  • Changed state: Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant