source range, direction, count, value access
one change per fillable target cell (column = model index)
const values = [[1], [2]]; // a 2 × 1 source range
computeFillChanges({
source: new CellRange(0, 0, 1, 0), direction: "down", count: 2,
getValue: (r, c) => values[r]?.[c],
}); // [{ rowIndex: 2, column: 0, value: 3 }, { rowIndex: 3, column: 0, value: 4 }]
1.1.96
The values a fill writes: per line of the source range (each column when filling down/up, each row when filling right/left) the continuation of its values (computeFillValues) – DOM-free, the table applies the result with TableApi.applyCellChanges.