table/src/table/table.types.ts
Represents a single data row. Table data is represented by an array of objects of this type (ITableRow[]).
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 { ITableRow } from '@talenra/components/table';See TableComponent
Properties |
|
[field: string]:
|
|
Data rendered in the table row. Each field of the object represents a table cell. Object keys must match column's
|
| identifier |
identifier:
|
Type : string
|
|
Unique identifier for the row (e.g. existing id from DB, GUID or array index). |
| isSelected |
isSelected:
|
Type : boolean
|
| Optional |
|
Determines whether the row is selected. |