AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated v7 version of this document. Switch to the v8 version to see the up to date information.

class anychart.data.TableComputer.RowProxy Improve this Doc

Extends: anychart.data.TableSelectable.RowProxy

Row proxy for computational functions.

Methods Overview

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

Methods Description

get

Returns current field values.

Params:

NameTypeDescription
fieldstringField name

Returns:

* - Value by field.

getColumn

Returns current column value.

Params:

NameTypeDescription
columnnumberColumn

Returns:

* - Column value by number.

getIndex

Returns index of the item in the selection that have 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.