Taiga UI 5.0 is out!

Table ADDON-TABLE

Examples API GitHub

On this page

See also

TablePagination, TableFilters

This module allows you to create various tables, both static and editable.

Basic

Most minimalistic usage example.

NameBalance
Alex Inkin1 323 525
Roman Sedov423 242

Custom

Using various components within table cells.

Checkbox
TitleCellStatus Items ProgressActions
Data point 1 The first element
This is title Chip More information ・ Data
John Cleese silly@walk.uk
Success
Some
items
displayed
here
and
can
overflow
78ms
Some title Some more text
More info Chips can be here
Eric Idle cool@dude.com
Failure
One
Item
91ms
And now Completely different
Wow
Michael Palin its@man.com
Pending 32ms

Editable

Using editable textfield controls inside a table.

Name Purchase
999 999
998
149.75
19 999
14 997
74.75

Sorting

Using SortBy directive to work with column titles instead of manual sorters.

Sort key: name, direction: -1

Date of Birth
Pages 1 Lines per page of 1

Virtual scroll

Using ScrollingModule from @angular/cdk/scrolling to implement virtual scroll and tuiSorter pipe for easy sorting by key.

Columns

Using structural directives for dynamic columns.

1 name

Footer

Using caption tag to place pagination at the bottom of the table.

999 rows
NameBalance
Alex Inkin1 323 525
Roman Sedov423 242

Resizing

Making column headers draggable at the edge and setting width limits.

Name
Items
Balance
Alex Inkin
WalletPhone
Roman Sedov
Wallet

Expandable rows

Animated expandable sections of the table.

#NameDate of Birth
1John Matrix30.07.1947
1.1Jenny Matrix15.07.1975
2John Rambo04.07.1946
3John McClane19.03.1955
3.1Lucy McClane10.08.1982
3.2Jack McClane05.04.1985

Toggle rows

More complex examples of expandable sections.

First name Last name Role Balance
3 Developers (basic usage) dev 5 970 009
Alex
Inkin dev 1 323 525
Roman
Sedov dev 423 242
Andrei
Serebrennikov dev 4 223 242
2 Designers (manual handling) design 4 646 484
Joe Wilson design 423 242
Julia Johnson design 4 223 242
Custom content (click on chevron) all 10 616 493
Alex Inkin Roman Sedov Andrei Serebrennikov Joe Wilson Julia Johnson

Controls

All unique textfield controls in their table representation.

Growing height Static height