# Interface NodeData

Data object passed to FancytreeNode() constructor. Note: typically these attributes are accessed by meber methods, e.g. `node.isExpanded()` and `node.setSelected(false)`.

interface NodeData {
active ?: boolean;
children ?: NodeData [];
data ?: Object ;
expanded ?: boolean;
extraClasses ?: string;
focus ?: boolean;
folder ?: boolean;
hideCheckbox ?: boolean;
icon ?: string | boolean;
iconTooltip ?: string;
key ?: string;
lazy ?: boolean;
refKey ?: string;
selected ?: boolean;
statusNodeType ?: string;
title : string;
tooltip ?: string;
type ?: string;
unselectable ?: boolean;
unselectableIgnore ?: boolean;
unselectableStatus ?: boolean;
}

- Defined in src/public/app/types-fancytree.d.ts:1064

##### Index

### Properties

active?
children?
data?
expanded?
extraClasses?
focus?
folder?
hideCheckbox?
icon?
iconTooltip?
key?
lazy?
refKey?
selected?
statusNodeType?
title
tooltip?
type?
unselectable?
unselectableIgnore?
unselectableStatus?

## Properties

### `Optional` active

active?: boolean

(initialization only, but will not be stored with the node).

- Defined in src/public/app/types-fancytree.d.ts:1074

### `Optional` children

children?: NodeData []

optional array of child nodes

- Defined in src/public/app/types-fancytree.d.ts:1083

### `Optional` data

data?: Object

all properties from will be copied to `node.data`

- Defined in src/public/app/types-fancytree.d.ts:1088

### `Optional` expanded

expanded?: boolean

- Defined in src/public/app/types-fancytree.d.ts:1072

### `Optional` extraClasses

extraClasses?: string

class names added to the node markup (separate with space)

- Defined in src/public/app/types-fancytree.d.ts:1086

### `Optional` focus

focus?: boolean

(initialization only, but will not be stored with the node).

- Defined in src/public/app/types-fancytree.d.ts:1076

### `Optional` folder

folder?: boolean

- Defined in src/public/app/types-fancytree.d.ts:1077

### `Optional` hideCheckbox

hideCheckbox?: boolean

- Defined in src/public/app/types-fancytree.d.ts:1078

### `Optional` icon

icon?: string | boolean

- Defined in src/public/app/types-fancytree.d.ts:1067

### `Optional` iconTooltip

iconTooltip?: string

Will be added as title attribute of the node's icon span,thus enabling a tooltip.

- Defined in src/public/app/types-fancytree.d.ts:1091

### `Optional` key

key?: string

unique key for this node (auto-generated if omitted)

- Defined in src/public/app/types-fancytree.d.ts:1069

### `Optional` lazy

lazy?: boolean

- Defined in src/public/app/types-fancytree.d.ts:1079

### `Optional` refKey

refKey?: string

(reserved)

- Defined in src/public/app/types-fancytree.d.ts:1071

### `Optional` selected

selected?: boolean

- Defined in src/public/app/types-fancytree.d.ts:1080

### `Optional` statusNodeType

statusNodeType?: string

If set, make this node a status node. Values: 'error', 'loading', 'nodata', 'paging'.

- Defined in src/public/app/types-fancytree.d.ts:1094

### title

title: string

node text (may contain HTML tags)

- Defined in src/public/app/types-fancytree.d.ts:1066

### `Optional` tooltip

tooltip?: string

- Defined in src/public/app/types-fancytree.d.ts:1084

### `Optional` type

type?: string

Made available as node.type.

- Defined in src/public/app/types-fancytree.d.ts:1097

### `Optional` unselectable

unselectable?: boolean

- Defined in src/public/app/types-fancytree.d.ts:1081

### `Optional` unselectableIgnore

unselectableIgnore?: boolean

Ignore this node when calculating the partsel status of parent nodes in selectMode 3 propagation.

- Defined in src/public/app/types-fancytree.d.ts:1100

### `Optional` unselectableStatus

unselectableStatus?: boolean

Use this as constant selected value(overriding selectMode 3 propagation).

- Defined in src/public/app/types-fancytree.d.ts:1103