Maps API for JavaScript Developer's Guide

H.service.extension.dataView.IRow

Interface Summary

An interface to provide access to a table's row. It uses two generic types:

[ For full details, see the Interface Details ]

Method Summary

Table 1. Methods
Methods

getColumnNames () : {Array<string>}

To get a ordered list of all column names.

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

To get the cell value at the specified column

getTable () : {H.service.extension.dataView.ITable<C, M>}

To get the reference to the table this row belongs to

Interface Description

An interface to provide access to a table's row. It uses two generic types:

  • C: The type for all cell values
  • M: The type for the table's meta information

Method Details

getColumnNames () : {Array<string>}

To get a ordered list of all column names.

Returns:
 
{Array<string>}
the list of the column names.

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

To get the cell value at the specified column

Parameters:
 
columnName:
{string}
 
The name of the column
Returns:
 
{(C | undefined)}
The specified cell or undefined if a column with the the given name doesn't exist.

getTable () : {H.service.extension.dataView.ITable<C, M>}

To get the reference to the table this row belongs to