Parent directive that sets the table up.
| Name and description | Type |
|---|---|
[columns] | readonly string[] |
[size] | TuiSizeS | TuiSizeL |
[(sorter)] | TuiComparator<T> |
[(direction)] | 1 | -1 |
Used on thead to make it sticky
Used inside thead to layout headings for the columns. You can have multiple rows and use rowSpan on th elements if you want to create some complex heading for your table.
Used inside tr[tuiThGroup] to style heading cells.
| Name and description | Type |
|---|---|
[resizable] | boolean |
[sorter] | TuiComparator<T> | null |
[sticky] | boolean |
Sets up a group of data. You can have multiple tbody inside your table.
| Name and description | Type |
|---|---|
[data] | readonly T[] |
[heading] | PolymorpheusContent |
[(open)] | boolean |
Used inside tbody to layout cells.
A cell directive to be placed in tr of tbody . Use it on th if you want to make a sticky column