expandData method

Future<void> expandData(
  1. String hierarchyName
)

Expands all nodes of the specified hierarchy. Please note, this method works only for CSV and JSON data sources.

Implementation

Future<void> expandData(String hierarchyName) async {
  WebViewController apiController = await controller.future;
  await apiController
      .runJavascript("webdatarocks.expandData('$hierarchyName')");
}