beginEdit method

void beginEdit({
  1. String? initial,
})

Implementation

void beginEdit({String? initial}) {
  final col = columns[_sel.col];
  if (col.isReadOnly || col.type == EditableColumnType.checkbox) return;
  _draft = initial ?? col.value(_rows[_sel.row]);
  _editing = true;
  notifyListeners();
}