organization: | Logilab |
---|---|
copyright: | 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. |
contact: | http://www.logilab.fr/ – mailto:contact@logilab.fr |
Calendar (graphical) widget
public methods are :
- __init__ :
- containerId: the DOM node’s ID where the calendar will be displayed inputId: which input needs to be updated when a date is selected year, month: year and month to be displayed cssclass: CSS class of the calendar widget (default is ‘commandCal’)
- show() / hide():
- show or hide the calendar widget
- toggle():
- show (resp. hide) the calendar if it’s hidden (resp. displayed)
- displayNextMonth(): (resp. displayPreviousMonth())
- update the calendar to display next (resp. previous) month
utility function (the only use for now is inside the calendar)
accepts the cells data and builds the corresponding TR nodes
builds the calendar headers
popup / hide calendar associated to containerId
ask for next month to calendar displayed in containerId
ask for previous month to calendar displayed in containerId
Callback called when the user clicked on a cell in the popup calendar