Class SweetDevRia.StandAloneCalendar
RIA Stand Alone calendar implementation.
Defined in: StandAloneCalendar.js.
Constructor Attributes | Constructor Name and Description |
---|---|
SweetDevRia.StandAloneCalendar(id, containerId, monthyear, selected)
|
Field Attributes | Field Name and Description |
---|---|
No method "focus" for this component.
|
|
No method "select" for this component.
|
|
No method "setActive" for this component.
|
Method Attributes | Method Name and Description |
---|---|
<private> |
doCellMouseOut(e, cal)
No over.
|
<private> |
doCellMouseOver(e, cal)
No over.
|
doSelectCell(e, cal)
No date selection on stand alone calendar.
|
|
setValue(a, a)
This function set a new date value from a date
If it's correct, date is set on the Calendar, if not, an error class is returned
|
Class Detail
SweetDevRia.StandAloneCalendar(id, containerId, monthyear, selected)
- Parameters:
- {String} id
- The id of the table element that will represent the calendar widget
- {String} containerId
- The id of the container element that will contain the calendar table
- {String} monthyear
- The month/year string used to set the current calendar page
- {String} selected
- A string of date values formatted using the date parser. The built-in default date format is MM/DD/YYYY. Ranges are defined using MM/DD/YYYY-MM/DD/YYYY. Month/day combinations are defined using MM/DD. Any combination of these can be combined by delimiting the string with commas. Example: "12/24/2005,12/25,1/18/2006-1/21/2006"
Field Detail
focus
No method "focus" for this component.
select
No method "select" for this component.
setActive
No method "setActive" for this component.
Method Detail
<private>
doCellMouseOut(e, cal)
No over.
- Parameters:
- e
- The event
- cal
- A reference to the calendar passed by the Event utility
<private>
doCellMouseOver(e, cal)
No over.
- Parameters:
- e
- The event
- cal
- A reference to the calendar passed by the Event utility
doSelectCell(e, cal)
No date selection on stand alone calendar.
- Parameters:
- e
- The event
- cal
- A reference to the calendar passed by the Event utility
setValue(a, a)
This function set a new date value from a date
If it's correct, date is set on the Calendar, if not, an error class is returned
- Parameters:
- {Sting} a
- String representing the date to select
- {Date/Date[]} a
- date representing the selection