selectColumn method

void selectColumn(
  1. Object? key
)

Selects the column identified by key. Mirrors selectRow.

Implementation

void selectColumn(Object? key) {
  if (key == null) {
    clearColumn();
    return;
  }
  if (_selectedColumnKey == key) {
    clearColumn();
    return;
  }
  _selectedColumnKey = key;
  if (exclusive) _selectedRowKey = null;
  notifyListeners();
}