class anychart.data.TableSelectable Improve this Doc
Table mapping proxy that supports selection
Methods Overview
Data | |
getIterator() | Returns a new iterator for current selection. |
search() | Searches asked key with asked mode and return an object that allows values fetching. |
select() | Selects asked range. |
selectAll() | Selects the full range of the storage. |
Methods Description
getIterator
Returns a new iterator for current selection.
Returns:
anychart.data.TableIterator - An instance of the class for method chaining.Try it:
search
Searches asked key with asked mode and return an object that allows values fetching.
Params:
Name | Type | Description |
---|---|---|
key | number | string | Date | Key. |
mode | anychart.enums.TableSearchMode | string | Mode of table search. |
Returns:
anychart.data.TableSelectable.RowProxy - An instance for method chainingTry it:
select
Selects asked range.
Params:
Name | Type | Description |
---|---|---|
startDate | number | string | Date | Start date. |
endDate | number | string | Date | End date. |
intervalUnit | anychart.enums.Interval | string | Interval unit. |
intervalCount | number | Interval count. |
Returns:
anychart.data.TableSelectable - Self instance for method chaining.Try it:
selectAll
Selects the full range of the storage.
Params:
Name | Type | Description |
---|---|---|
intervalUnit | anychart.enums.Interval | string | Interval unit. |
intervalCount | number | Interval count. |
Returns:
anychart.data.TableSelectable - Self instance for method chaining.Try it: