class anychart.data.TableIterator Improve this Doc
Table iterator class. Assumes iterator (if any) to return not fewer keys than the table has.
Methods Overview
Data | |
advance() | Advances the iterator to the next position. |
get() | Returns field values. |
getIndex() | Returns item index. |
getKey() | Returns item key. |
reset() | Resets the iterator to a pre-first position. |
Methods Description
advance
Advances the iterator to the next position.
Returns:
boolean - Returns True if moved to the next position, otherwise returns False.Try it:
get
Returns field values.
Params:
Name | Type | Description |
---|---|---|
field | string | The name of the field. |
Returns:
* - The field value.Try it:
getIndex
getKey
reset
Resets the iterator to a pre-first position.
Try it: