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
-
To get the cell value at the specified column
Name Type Description columnNamestring The name of the column
Returns:
Type Description C | undefined The specified cell or undefinedif a column with the the given name doesn't exist. -
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> -
To set the value of the cell at the specified column.
GEOMETRY_IDcell of an existing row should not be modified to not cause data inconsistency.Name Type Description columnNamestring 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.
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)); -