TinyBase logoTinyBase β

TableViewProps

TableViewProps props are used for components that refer to a single Table in a Store, such as the TableView component.

{
  tableId: Id;
  store?: StoreOrStoreId;
  customCellIds?: Ids;
  separator?: Snippet<[]>;
  debugIds?: boolean;
  row?: Snippet<[rowId: Id]>;
}
TypeDescription
tableIdId

The Id of the Table in the Store to be rendered.

store?StoreOrStoreId

The Store to be accessed: omit for the default context Store, provide an Id for a named context Store, or provide an explicit reference.

customCellIds?Ids

An optional list of Cell Ids to use for rendering a prescribed set of the Table's Cells in a given order for each Row.

separator?Snippet<[]>

A component or string to separate each rendered Row.

debugIds?boolean

Whether the component should also render the Id of the Table, and its descendent objects, to assist with debugging.

row?Snippet<[rowId: Id]>

A snippet for rendering each Row in the Table, to override the default RowView component.

Since

v8.1.0