Note: Application logic should not interact with the component's properties or invoke its methods until the BusyContext indicates that the component is ready for interaction.
Attributes
-
row-key :(K|null)
-
Specifies the row key of each selector. If the selectionMode property is 'all', rowKey is ignored.
- Default Value:
null
Names
Item Name Property rowKeyProperty change event rowKeyChangedProperty change listener attribute (must be of type function, see Events and Listeners for additional information.) on-row-key-changed -
selected-keys :KeySet.<K>|null
-
Specifies the selectedKeys, should be hooked into the collection component.
- Default Value:
null
- Supports writeback:
true
Names
Item Name Property selectedKeysProperty change event selectedKeysChangedProperty change listener attribute (must be of type function, see Events and Listeners for additional information.) on-selected-keys-changed -
selection-mode :single|multiple|all
-
Specifies the selection mode ('single', 'multiple', 'all'). 'all' should only be used for the select all case and will ignore the key property.
<oj-selector selected-keys='{{selectedItems}}' selection-mode='all'> </oj-selector>- Default Value:
'multiple'
Supported Values:
Value Description allSpecifies the select all case (rowKey property is ignored). multipleMultiple items can be selected at the same time. singleOnly a single item can be selected at a time. Names
Item Name Property selectionModeProperty change event selectionModeChangedProperty change listener attribute (must be of type function, see Events and Listeners for additional information.) on-selection-mode-changed