AnyChart
API Reference
Still have questions?
Contact support
Top

class anychart.data.TableComputer.RowProxy Improve this Doc

Extends: anychart.data.TableSelectable.RowProxy

Row proxy for computational functions.

Methods Overview

Data
get()Returns field values.
getColumn()Returns column value.
getIndex()Returns index of the item in the selection that has created this item.
getKey()Returns item key.
set()Sets field value by field name.
setColumn()Sets value by column.

Methods Description

get

Returns field values.

Params:

NameTypeDescription
fieldstringField name

Returns:

* - Value by field.

getColumn

Returns column value.

Params:

NameTypeDescription
columnnumberColumn

Returns:

* - Column value by number.

getIndex

Returns index of the item in the selection that has created this item.

Returns:

number - Item index.

getKey

Returns item key.

Returns:

number - Item key.

set

Sets field value by field name.

Params:

NameTypeDescription
namestringName of output field.
value*Field value.

Returns:

boolean - If the set action succeeded.

setColumn

Sets value by column.

Params:

NameTypeDescription
indexnumberColumn index.
value*Value to set

Returns:

boolean - If the set action succeeded.