Interface WbNodeData

A plain object (dictionary) that represents a node instance.

interface WbNodeData {
    _treeId?: string;
    checkbox?: CheckboxOption;
    children?: WbNodeData[];
    classes?: string;
    colspan?: boolean;
    expanded?: boolean;
    icon?: IconOption;
    iconTooltip?: string | boolean;
    key?: string;
    lazy?: boolean;
    radiogroup?: boolean;
    refKey?: string;
    selected?: boolean;
    statusNodeType?: NodeStatusType;
    title: string;
    tooltip?: string | boolean;
    type?: string;
    unselectable?: boolean;
    [key: string]: unknown;
}

Indexable

[key: string]: unknown

Other data is passed to node.data and can be accessed via node.data.NAME

Properties

_treeId?: string
checkbox?: CheckboxOption
children?: WbNodeData[]
classes?: string
colspan?: boolean
expanded?: boolean
icon?: IconOption
iconTooltip?: string | boolean
key?: string
lazy?: boolean
radiogroup?: boolean

Make child nodes single-select radio buttons.

refKey?: string
selected?: boolean
statusNodeType?: NodeStatusType
title: string
tooltip?: string | boolean
type?: string
unselectable?: boolean