Row()

Row class represents one table entry or row in the ZObject flat table representation in the store. The root zobject being viewed or altered is flattened into a table on initialization and represented as an array of Row objects.

Constructor

new Row() #

Properties:

Name Type Description
id number

Numerical unique row identifier;

key string

String value of the key that identifies this node, string value of the numerical index if this row represents a list item;

value string

String value if the node is terminal or type of value this node is the parent of if not terminal;

parentId number

The row identifier of this row's parent

Source:

Methods

isArray() → {boolean} #

Returns whether the row represents the parent node of an array.

Source:

Returns:

Type
boolean

isObject() → {boolean} #

Returns whether the row represents the parent node of an object.

Source:

Returns:

Type
boolean

isTerminal() → {boolean} #

Returns whether the row represents a terminal node.

Source:

Returns:

Type
boolean