onDeselectHandler method

void onDeselectHandler(
  1. PlutoGridOnRowDoubleTapEvent event
)

Implementation

void onDeselectHandler(PlutoGridOnRowDoubleTapEvent event) {
  // de-select all rows
  for (var row in stateManager!.checkedRows) {
    stateManager!.setRowChecked(row, false);
  }

  // clear model selection
  widget.model.onDeSelect();

  // clear grid cell
  stateManager!.clearCurrentCell();

  // clear last cell selected
  _lastSelectedCell = null;
}