setValueOf<V> method

bool setValueOf<V>(
  1. String fieldName,
  2. V? value
)

Writes another field value on the same visual row through the normal grid/dataset pipeline.

The write request is always routed to the grid first, even when the current cell is read-only. The grid still needs to activate/focus the owning cell deterministically; it then rejects the value change if the target field is not editable.

Implementation

bool setValueOf<V>(String fieldName, V? value) {
  _requireField(fieldName, 'FdcFieldContext.setValueOf');
  return _fieldValueWriter(fieldName, value);
}