FdcGridRangeSelectionCellEditablePredicate typedef

FdcGridRangeSelectionCellEditablePredicate = bool Function(int rowIndex, int columnIndex)

Reports whether one grid cell may receive a range-paste update.

The grid host supplies this predicate and the range-selection session calls it while validating a paste plan. Indexes are zero-based data-row and source-column coordinates. Returning false excludes the cell from writable paste targets; the session decides whether that makes the complete paste plan inapplicable.

This typedef is part of the stable fdc_ext.dart extension seam.

Implementation

typedef FdcGridRangeSelectionCellEditablePredicate =
    bool Function(int rowIndex, int columnIndex);