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:
Name | Type | Description |
---|---|---|
field | string | Field name |
Returns:
* - Value by field.Try it:
getColumn
Returns 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 has created this item.
Returns:
number - Item index.Try it:
getKey
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: