setRows method

void setRows(
  1. List<T> values
)

Replace the entire row set (e.g. load from a data source). Clears the selection; keeps the sort + filter applied.

Implementation

void setRows(List<T> values) {
  _all
    ..clear()
    ..addAll(values);
  _selRows.clear();
  _selCells.clear();
  _recompute();
}