Class ecm.widget.SingleSelectTree
Extends
dijit.Tree.
Provides a widget that contains a tree in which the user can select one node in the tree at a time.
Defined in: <ecm\widget\SingleSelectTree.js>.
Constructor Summary
| Constructor Attributes | Constructor Name and Description |
|---|---|
Field Summary
| Field Attributes | Field Name and Description |
|---|---|
|
Boolean indicating if this tree supports only single selection.
|
Method Summary
| Method Attributes | Method Name and Description |
|---|---|
|
getRowClass(item, opened)
Returns the CSS class for a row based on the state of the passed in item.
|
|
|
userSelect(node, multi, range)
Add or remove the given node from the selection, responding to a user action such as a click or key press.
|
Field Detail
singular
Boolean indicating if this tree supports only single selection.
Method Detail
getRowClass(item, opened)
Returns the CSS class for a row based on the state of the passed in item.
- Parameters:
- item
- A dojo.data.Item.
- opened
- A boolean value. A value of
trueif the item is opened.
- Returns:
- The CSS class for the row.
postMixInProperties()
userSelect(node, multi, range)
Add or remove the given node from the selection, responding to a user action such as a click or key press.
- Parameters:
- node
- The node to add or remove from selection.
- multi
- A boolean value. If
truethis is a multiple select action (for example, CTRL+click). - range
- A boolean value. If
truethis is a range select action (for example, SHIFT+click).