FdcColumnValueChanging<T> typedef

FdcColumnValueChanging<T> = FdcColumnValueChangeResult<T>? Function(FdcColumnValueChangingContext<T> context)

Column-level pre-write interceptor.

The callback runs after the grid has accepted the editor/custom-cell action but before the value is written into the dataset. Return null or context.accept() to keep the incoming value, context.replaceValue(...) to transform it, or context.cancel(...) to reject it.

Implementation

typedef FdcColumnValueChanging<T> =
    FdcColumnValueChangeResult<T>? Function(
      FdcColumnValueChangingContext<T> context,
    );