TanStack
Cell API Reference

AppCellContext

Type Alias: AppCellContext<TFeatures, TData, TValue, TCellComponents>

ts
type AppCellContext<TFeatures, TData, TValue, TCellComponents> = object;

Defined in: packages/lit-table/src/createTableHook.ts:49

Enhanced CellContext with pre-bound cell components. The cell property includes the registered cellComponents.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

TValue

TValue extends CellData

TCellComponents

TCellComponents extends Record<string, ComponentType<any>>

Properties

cell

ts
cell: Cell<TFeatures, TData, TValue> & BoundComponents<TCellComponents> & object;

Defined in: packages/lit-table/src/createTableHook.ts:55

Type Declaration

FlexRender()
ts
FlexRender: () => LitRenderable;
Returns

LitRenderable


column

ts
column: Column<TFeatures, TData, TValue>;

Defined in: packages/lit-table/src/createTableHook.ts:59


getValue

ts
getValue: CellContext<TFeatures, TData, TValue>["getValue"];

Defined in: packages/lit-table/src/createTableHook.ts:60


renderValue

ts
renderValue: CellContext<TFeatures, TData, TValue>["renderValue"];

Defined in: packages/lit-table/src/createTableHook.ts:61


row

ts
row: Row<TFeatures, TData>;

Defined in: packages/lit-table/src/createTableHook.ts:62


table

ts
table: Table<TFeatures, TData>;

Defined in: packages/lit-table/src/createTableHook.ts:63