_SF.ejTreeView🔗 Syncfusion TreeView widget

Constructor: [items [levels [links]]]

items – ⍝ vector of character vectors containing the tree node texts

levels – ⍝ the levels of the corresponding items

links – ⍝ the href string to be used when the corresponding element is chosen (clicked)

Public Fields:

Items – ⍝ vector of character vectors containing the tree node texts

Levels – ⍝ the levels of the corresponding items

Links – ⍝ the href string to be used when the corresponding element is chosen (clicked)

MakeIds – ⍝ 1 to generate IDs

onNodeSelect – ⍝ 1 to call APLJax, or the name of the callback function

Public Method to request model data to be returned to the server:

r←name getModel subsel ⍝ Passes the TreeView model back as a variable called 'model' as input to a callback.

Public Methods to be used in Callbacks:

r←addNode name ⍝ Will add a node with id "tv_n", where n starts at 0 and increases each time a node is added

r←removeNode node ⍝ Removes the identified node

r←checkAll ⍝ Check everything below the current node

r←checkNode node ⍝ Check a node

r←uncheckAll ⍝ Uncheck everything below the current node

r←uncheckNode node ⍝ Uncheck a node

r←expandAll ⍝ Expands everything below the current node

r←expandNode node ⍝ Expands everything below a node

r←collapseAll ⍝ Collapses everything below the current node

r←collapseNode node ⍝ Collapses everything below a node

r←selectNode node ⍝ Select a node

r←unselectNode node ⍝ Unselect a node

Relevant Sample Pages:

Controls used on this page: Dyalog: Tabs Base HTML: style