Top
You are looking at an outdated 7.13.0 version of this document. Switch to the 7.13.1 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:

Name Type Description
field string Field name

Returns:

* - Value by field.

Try it:

getColumn

Returns current column value.

Params:

Name Type Description
column number Column

Returns:

* - Column value by number.

Try it:

getIndex

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

Returns:

number - Item index.

Try it:

getKey

Returns item key.

Returns:

number - Item key.

Try it:

set

Sets field value by field name.

Params:

Name Type Description
name string Name of output field.
value * Field value.

Returns:

boolean - If the set action succeeded.

Try it:

setColumn

Sets value by column.

Params:

Name Type Description
index number Column index.
value * Value to set

Returns:

boolean - If the set action succeeded.

Try it: