runQuery method

Future<void> runQuery(
  1. dynamic query
)

Runs a query with specified rows, columns, measures and reportFilters from the SliceObject and displays the result data. Use this method to rearrange hierarchies on the axes or to compose a new report based on the current data source.

Implementation

Future<void> runQuery(dynamic query) async {
  WebViewController apiController = await controller.future;
  await apiController
      .runJavascript("flexmonster.runQuery(${jsonEncode(query)})");
}