boundColumnCells

Returns the cells of the column a binding names, or null when the value is not a column binding or the dataset's rows are not here.

@internote/canvas-sdkFunction
On this page
import { boundColumnCells } from '@internote/canvas-sdk';

The same array comes back for the same column of the same rows, so it must not be changed; it is what columnKindOf and an axis's reading of the column are kept by.

#Signature

(
    datasets: Record<string, ChalkDataset> | undefined,
    value: unknown,
): string[] | null

#Parameters

datasets
The document's datasets, such as ctx.datasets.
value
An attribute value that may be a #id.column binding.

Declared in packages/canvas-sdk/src/data/columns.ts:148.

Last updated