flexiciousNmsp.NumericRangeBox Class
A NumericRangeBox that which can be used within the filtering/binding infrastructure. /** An HBox that contains two textboxes to specify a range. Implements IRangeFilterControl (IFilterControl)
Constructor
flexiciousNmsp.NumericRangeBox
()
Item Index
Properties
dataField
String
Name of the field in the items in the dataProvider
Array to use as the value of drop-down list.
By default, the control uses a property named data
on each Array object and displays it.
However, if the dataProvider
items do not contain
a data
property, you can set the dataField
property to use a different property.
Default: data
filterComparisionType
String
This is usually automatically set, you don't have to manually set it, unless you're sending strings as Date objects. When set, will attempt to first convert the current value to the type you specified and then do the conversion. Values : auto,string,number,boolean,date
Default: auto
filterOperation
String
The filter operation to apply to the comparison See the FilterExpression class for a list. Please note, for CheckBoxList and MultiSelectNumericRangeBox, this field defaults to "InList" and is ignored when set. Valid values are : "Equals,NotEquals,BeginsWith,EndsWith,Contains,DoesNotContain,GreaterThan,LessThan,GreaterThanEquals,LessThanEquals,InList,NotInList,Between"
Default: Equals
filterTriggerEvent
String
The event that the filter triggers on. Defaults to "change", or if the filterRenderer supports com.flexicious.controls.interfaces.IDelayedChange, then the delayedChange event.
Default: change
hasSearch
Boolean
Whether or not there is an active search
Default: false
registered
Boolean
Whether or not this control has been registered. This should not be set by your code.
Default: false
searchField
String
The field to search on, usually same as the data field.
Default: null
separator
Label
The label that separates the two inputs
separatorText
String
The text of the separator separating the two text input boxes.
Default: "to"
textBoxEnd
TextInput
The text input that holds the end value.
textBoxStart
TextInput
The text input that holds the start value.