Class adf.TocNode
Defined in: Toc.js.
Constructor Attributes | Constructor Name and Description |
---|---|
adf.TocNode(key, label, value)
adf.TocNode represents a node that is displayed in the toc control.
|
Field Attributes | Field Name and Description |
---|---|
Collection of context menu items
|
|
Url of image to be displayed in toc node
|
|
Whether node is checked or not checked
|
|
Whether node is disabled
|
|
Whether node is expanded or collapse.
|
|
Whether node is the selected node
|
|
Whether node must render checkbox for turning on/off.
|
|
Whether node must render image to allow users to expand/collapse node.
|
|
Whether the node must be rendered as a link.
|
|
Node Key as defined on the server
|
|
Label displayed on toc node
|
|
This is the hierrachy value of the node in the toc control, how further it is from the top/root level
|
Class Detail
adf.TocNode(key, label, value)
adf.TocNode represents a node that is displayed in the toc control.
- Parameters:
- {String} key
- node's key
- {String} label
- node's label information
- {Number} value
- this is the hierrachy value of the node in the toc control, how further it is from the top/root level
Field Detail
{Array}
contextMenuItems
Collection of context menu items
{String}
imageUrl
Url of image to be displayed in toc node
{Boolean}
isChecked
Whether node is checked or not checked
- Default Value:
- false
{Boolean}
isDisabled
Whether node is disabled
- Default Value:
- false
{Boolean}
isExpanded
Whether node is expanded or collapse.
- Default Value:
- false
{Boolean}
isSelected
Whether node is the selected node
- Default Value:
- false
{Boolean}
isShowChecked
Whether node must render checkbox for turning on/off.
- Default Value:
- false
{Boolean}
isShowExpanded
Whether node must render image to allow users to expand/collapse node.
- Default Value:
- false
{Boolean}
isUrl
Whether the node must be rendered as a link.
- Default Value:
- false
{String}
key
Node Key as defined on the server
{String}
label
Label displayed on toc node
{Number}
level
This is the hierrachy value of the node in the toc control, how further it is from the top/root level