getSerieByIndexAndParent(index, parentKey);
index. Number. Child series index.
parentKey. Number. Parent series key.
The getSerieByIndexAndParent method returns a series by index of certain parent.
If a parent series is not set, the series is searched in the root nesting level.
Executing the example requires that HTML page contains the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component).
// Get third series key serie = wbk.getSeries()[2]; key = serie.k; // Get third series first child wbk.getSerieByIndexAndParent(0, key);
After executing the example the third series first child is obtained.
See also: