DateRangeInputComponent

Description

Renders a date range input box to collect user input from.

Options

name
The name of the component
type
dateRangeInputComponent
listeners
Array - Parameters who this component will react to
parameter
Array - Variables where the input is stored
singleInput
True will render a single input; False will use 2 input boxes. Default: true
inputSeparator
If singleInput=false, this separator will be used between the fields
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(date1, date2) - Function to be called before the component is changed
postChange
Function(date1, date2) - Function to be called after the component is changed

Sample