getTableSizes method

Future getTableSizes()

Returns table sizes that are set for the component via UI or the setTableSizes() method.

Implementation

Future<dynamic> getTableSizes() async {
  WebViewController apiController = await controller.future;
  String tableSizesString = await apiController
      .runJavascriptReturningResult("flexmonster.getTableSizes()");
  dynamic tableSizes = jsonDecode(tableSizesString);
  return tableSizes;
}