FdcGridRangeSelectionBounds typedef

FdcGridRangeSelectionBounds = ({List<int> columnIndexes, int firstColumn, int firstRow, int lastColumn, int lastRow})

Normalized rectangular selection bounds in grid row and source-column space.

Range-selection session implementations produce this record and the Community grid host consumes it for clipboard operations, hit testing, and overlay projection. firstRow and lastRow are zero-based data-row indexes and are inclusive. firstColumn and lastColumn are inclusive source column indexes. columnIndexes contains the selected source column indexes in current visual order, which may differ from a contiguous numeric range after reordering or pinning.

This typedef is part of the stable fdc_ext.dart extension seam and may be used by compatible third-party extension packages.

Implementation

typedef FdcGridRangeSelectionBounds = ({
  int firstRow,
  int lastRow,
  int firstColumn,
  int lastColumn,
  List<int> columnIndexes,
});