MonthPickerComponent
Description
Renders a selection box to collect a month from user input. It's usually faster/more
intuitive than classic datepickers.
Options
- name
- The name of the component
- type
monthPickerComponent
- listeners
- Array - Parameters who this component will react to
- parameter
- Variable where the input is stored
- initialDate
- Initial date to display in the selector
- months
- The number of months to display (eg, months = 2 will display 1 month before and 1 month after the initialDate). If 0 or not specified, will use all entries between maxDate and minDate
- size
- The vertical size of the component. Default: 1
- maxDate
- Maximum date to display in the selector. Default: no restriction
- minDate
- Minimum date to display in the selector. Default: no restriction
- htmlObject
- Id of the component (usually a div or a span tag) to be replaced by the result
- refreshPeriod
- Time in seconds for this component to refresh. Default is 0 (disabled)
- executeAtStart
- True to execute the component at start, false otherwise
- tooltip
- Tooltip to be displayed when mouse hovers
- preExecution
- Function - Function to be called before the component is executed
- postExecution
- Function - Function to be called after the component is executed
- preChange
- Function(date) - Function to be called before the component is changed
- postChange
- Function(date) - Function to be called after the component is changed
Sample