Maps API for JavaScript Developer's Guide

H.service.extension.customLocation.Table.Column

Class Summary

Implements: H.service.extension.dataView.IColumn

This class represents values of an specific attribute within a CLE layer as a table column. It implements the H.service.extension.dataView.IColumn.<*> interface.

[ For full details, see the Class Details ]

Method Summary

Table 1. Methods
Methods

setCell (rowIndex, value)

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

getCell (rowIndex) : {(C | undefined)}

To get the cell value at the given row index

Class Description

This class represents values of an specific attribute within a CLE layer as a table column. It implements the H.service.extension.dataView.IColumn.<*> interface.

Constructor Details

H.service.extension.customLocation.Table.Column(table, columnName)

Parameters:
 
table:
{!H.service.extension.customLocation.Table}
 
The containing table of this column.
columnName:
{string}
 
The name of this column.

Method Details

setCell (rowIndex, value)

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

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

Example

// Set value of the current column for the first row
column.setCell(0, "HERE Technologies");
Parameters:
 
rowIndex:
{number}
 
The index of the cell's row
value:
{*}
 
The cell's value to set
Throws:
 
{H.lang.InvalidArgumentError}
 
if a row with the given index doesn't exist.

getCell (rowIndex) : {(C | undefined)}

To get the cell value at the given row index

Parameters:
 
rowIndex:
{number}
 
The zero-based index of the cell's row
Returns:
 
{(C | undefined)}
The specified cell or undefined if the row index is out of range.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.