collapseAllData method
Collapses all nodes and drills up (starting from v2.1) all levels of all hierarchies in the slice on the grid and on charts.\n All expanded/drilled down nodes will be collapsed/drilled up on the grid and on charts.
Implementation
Future<void> collapseAllData() async {
WebViewController apiController = await controller.future;
await apiController.runJavascript("webdatarocks.collapseAllData()");
}