setColFormat method

Future<void> setColFormat(
  1. int col,
  2. String format
)

Set the format string for a column (e.g. '#,##0.00' for currency).

Implementation

Future<void> setColFormat(int col, String format) async {
  await VolvoxGridService.DefineColumns(DefineColumnsRequest()
    ..gridId = _gridId
    ..columns.add(ColumnDef()
      ..index = col
      ..format = format));
}