TIWCGJQDynaTreeNode Class

Represents type TIWCGJQDynaTreeNode.

Namespace: IWCGJQDynaTree
TCGIndexedCollectionItem
  IWCGJQDynaTree.TIWCGJQDynaTreeNode
type
 TIWCGJQDynaTreeNode = class(TCGIndexedCollectionItem)
 end;

The TIWCGJQDynaTreeNode type exposes the following members.

Show:
 NameDescription
Create(TCollection)

Initializes a new instance of the TIWCGJQDynaTreeNode class.

Destroy

Represents the destructor of the TIWCGJQDynaTreeNode class.

Top
Show:
 NameDescription
Activate

Initial active status.

AddClass

Class name added to the node's span tag.

Children

The child nodes

CustomAttr

Custom attributes of node.

Useful to store the user data.

DynaTree

Represents property DynaTree.

Expand

Initial expanded status.

Focus

Initial focused status.

HideCheckbox

Suppress checkbox display for this node.

HRef

Added to the generated <a> tag

Icon

Use a custom image (url is relative to tree.options.imagePath)

IsFolder

Use a folder icon. Also the node is expandable but not selectable.

IsLazy

Call onLazyRead(), when the node is expanded for the first time to allow for delayed creation of children.

Note

Set this property to True, to load the children from server via ajax

NoIcon

Disable the icon for this node

NoLink

Use <span> instead of <a> tag for this node

Select

Initial selected status.

Title

Displayed name of the node (html is allowed here)

ToolTip

Show this popup text.

UniqueName

The unique name of node.

Unselectable

Prevent selection.

Top
Show:
 NameDescription
Assign(TPersistent)

Represents method Assign(TPersistent).

DataAttr

Represents method DataAttr.

ExecNodeCommand(TIWCGJQDynaTreeNodeCommands,string)

Method to execute the command.

Note

Only commands:

  • dtnActivate
  • dtnDeactivate
  • dtnExpand
  • dtnFocus
  • dtnMakeVisible
  • dtnSelect
  • dtnToggleExpand
  • dtnToggleSelect
can be called directly on event (e.g: OnClick).

Note

The commands that are not included in the previous note, can only be used in BrowserParams.

GetDisplayName

Represents method GetDisplayName.

jsNodeCommand(TIWCGJQDynaTreeNodeCommands,string)

Method return javascript code for command.

Top