File

table/src/table/table.types.ts

Description

Represents a single data row. Table data is represented by an array of objects of this type (ITableRow[]).

Example :
protected readonly data: ITableRow[] = [
  {
    identifier: "e5472204-4410-479a-9e90-c591dc8329e5",
    author: "Gabrielle-Suzanne Barbot de Villeneuve",
    title: "La Belle et la BĂȘte",
    isbn: "978-1-910-88006-7",
  },
  // ...
]

Import

Example :
import { ITableRow } from '@talenra/components/table';

See TableComponent

Index

Properties

Indexable

[field: string]: unknown

Data rendered in the table row. Each field of the object represents a table cell. Object keys must match column's fields.

Properties

identifier
identifier: string
Type : string

Unique identifier for the row (e.g. existing id from DB, GUID or array index).

isSelected
isSelected: boolean
Type : boolean
Optional

Determines whether the row is selected.

results matching ""

    No results matching ""