Class: Row

new H.service.extension.customLocation.Table.Row (table, rowIndex) Deprecated : since 3.1.63.0

This class represents a record within a data layer as a table row. It implements the H.service.extension.dataView.IRow.<*> interface.

Name Type Description
table H.service.extension.customLocation.Table

The containing table of this row.

rowIndex number

The index of this row.

Implements

Methods

getCell (columnName)C | undefined Deprecated : since 3.1.63.0

To get the cell value at the specified column

Name Type Description
columnName string

The name of the column

Returns:
Type Description
C | undefined The specified cell or undefined if a column with the the given name doesn't exist.

getColumnNames ()Array.<string> Deprecated : since 3.1.63.0

To get a ordered list of all column names.

Returns:
Type Description
Array.<string> the list of the column names.

getTable ()H.service.extension.dataView.ITable.<C, M> Deprecated : since 3.1.63.0

To get the reference to the table this row belongs to

Returns:
Type Description
H.service.extension.dataView.ITable.<C, M>

setCell (columnName, value) Deprecated : since 3.1.63.0

To set the value of the cell at the specified column.

GEOMETRY_ID cell of an existing row should not be modified to not cause data inconsistency.

Name Type Description
columnName string

The name of the cell's column

value *

The cell's value to set

Throws:

if a column with the given name doesn't exist.

Type
H.lang.InvalidArgumentError
Example
// Set value of the column with the specified name
row.setCell("COMPANY", "HERE Technologies");
row.setCell("WKT", new H.geo.Point(52.5309, 13.3849));