getLoadedChildrenCount (value);
value. Sets the parent series.
The getLoadedChildrenCount method determines the number of loaded child series for a specified series.
To execute the example, the page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component), and also add the following code in the handler, that processes document opening event:
var source = workbookBox.getSource().getActiveSheet();//return instance of the PP.TS.Workbook class //Get series var serie = source.getSeries()[2]; //Get the number of loaded child series for the specified series var loadedCount = source.getLoadedChildrenCount(serie); alert("Number of loaded child series for the series with id = " + serie.id + " is " + loadedCount + " of series");
After executing the example a message that contains ID of the series with the index 2 and number of loaded children for this series, appears in the HTML page.
See also: