arshadulla / jquery-week-calendar

Automatically exported from code.google.com/p/jquery-week-calendar
0 stars 0 forks source link

class for empty rows #44

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
when printing a week's calender, it would be handy to have only the used
hours printed. for example, if the week is /normally/ 9-5, it would be good
to hide the 12-9 and 5-12 hours. however, if someone worked late (to 7,
say), printing should show that.

how to manage this could be to, post-rendering, add "empty" classes to the
elements of all hours from midnight to the first event (morning), and from
midnight back to the last event (evening). then, people can add print-media
css for hiding those rows when printing.

Original issue reported on code.google.com by kae.verens@gmail.com on 2 Jul 2009 at 12:39

GoogleCodeExporter commented 8 years ago
I'm not sure about this one as it would also need to dynamically react to any 
new
events created and adds complexity and a performance cost for a very special 
case. I
think the best solution is to do this manually, probably using the 
calendarAfterLoad
event callback.

Original comment by robmo...@gmail.com on 10 Aug 2009 at 12:40