TinyBase logoTinyBase

RowCallback

The RowCallback type describes a function that takes a Row's Id and a callback to loop over each Cell within it.

(
  rowId: Id,
  forEachCell: (cellCallback: CellCallback) => void,
): void
TypeDescription
rowIdId

The Id of the Row that the callback can operate on.

forEachCell(cellCallback: CellCallback) => void
returnsvoid

This has no return value.

A RowCallback is provided when using the forEachRow method, so that you can do something based on every Row in a Table. See that method for specific examples.

Since

v1.0.0