getCellsRange method

Future<CellsResponse> getCellsRange(
  1. int row1,
  2. int col1,
  3. int row2,
  4. int col2, {
  5. bool includeStyle = false,
  6. bool includeChecked = false,
  7. bool includeTyped = false,
  8. bool includeRichText = false,
})

Get a rectangular range of cells in a single native round-trip.

Implementation

Future<CellsResponse> getCellsRange(
  int row1,
  int col1,
  int row2,
  int col2, {
  bool includeStyle = false,
  bool includeChecked = false,
  bool includeTyped = false,
  bool includeRichText = false,
}) {
  return VolvoxGridService.GetCells(GetCellsRequest()
    ..gridId = _gridId
    ..row1 = row1
    ..col1 = col1
    ..row2 = row2
    ..col2 = col2
    ..includeStyle = includeStyle
    ..includeChecked = includeChecked
    ..includeTyped = includeTyped
    ..includeRichText = includeRichText);
}