restoreTableView method

void restoreTableView()

Implementation

void restoreTableView() {
  final cache = tableViewCache;
  final collection = selectedCollection;
  if (cache != null) {
    columns = List<String>.from(cache.columns);
    columnsTable = cache.columnsTable;
  }
  _resetQueryState();
  _resetSearchAndSort();
  if (collection != null) _ensureTablePagination(collection);
  notifyListeners();
}