new CommentTypePicker()
- Source:
Extends
Members
-
onValueChange
-
- Inherited From:
- Source:
Properties:
Name Type Description inEvent
Object The payload that's attached to bubbled-up events Properties
Name Type Description originator
XV.PickerWidget This value
The value passed up is the key of the object and not the object itself
Methods
-
buildList()
-
- Inherited From:
- Source:
- To Do:
-
- Document the buildList method.
-
clear()
-
- Inherited From:
- Source:
- To Do:
-
- Document the clear method.
-
collectionChanged()
-
Collection can either be a pointer to a real collection, or a string that will be resolved to a real collection.
- Inherited From:
- Source:
-
create()
-
- Inherited From:
- Source:
- To Do:
-
- Document the create method.
-
disabledChanged()
-
- Inherited From:
- Source:
- To Do:
-
- Document the disabledChanged method.
-
filter(models) → {Array}
-
Implement your own filter function here. By default simply returns the array of models passed.
Parameters:
Name Type Description models
Array - Inherited From:
- Source:
Returns:
- Type
- Array
-
filteredList()
-
Returns array of models for current collection instance with `filter` applied.
- Inherited From:
- Source:
-
getValueToString()
-
- Inherited From:
- Source:
- To Do:
-
- Document the getValueToString method.
-
itemSelected()
-
- Inherited From:
- Source:
- To Do:
-
- Document the itemSelected method.
-
labelChanged()
-
- Inherited From:
- Source:
- To Do:
-
- Document the labelChanged method.
-
noneClassesChanged()
-
- Inherited From:
- Source:
- To Do:
-
- Document the noneClassesChanged method.
-
noneTextChanged()
-
- Inherited From:
- Source:
- To Do:
-
- Document the noneTextChanged method.
-
orderByChanged()
-
- Inherited From:
- Source:
- To Do:
-
- Document the orderByChanged method.
-
select()
-
- Inherited From:
- Source:
- To Do:
-
- Document the select method.
-
setValue(value, options)
-
Programatically sets the value of this widget. Value can be a model or the id of a model (String or Number). If it is an ID, then the correct model will be fetched and this function will be called again recursively with the model. The value passed can also be an object with two properties: "collection" and "value". If this is passed the collection will be set to the passed collection, and the value will be set to "value."
Parameters:
Name Type Description value
Number | XM.Model | Object options
Object - Inherited From:
- Source:
-
showLabelChanged()
-
- Inherited From:
- Source:
- To Do:
-
- Document the showLabelChanged method.