Components › Records & data › Table › Segment table

Segment table

canon

Listing table: sortable header, frozen checkbox and identity columns, lazy loading by 50 and an optional summary row in its own tfoot.

Engine lives in the app (components/segment/SegmentScreen.tsx — SegmentTable); the lite variant strips checkbox, column menu, summary and frozen identity. Row height is --row-h (37px) — the 44/52 densities belong to Item list, not here. The registry previously listed .sgb-summary, which does not exist: the summary row is the table tfoot and .sgb-sum is the per-column control.

Used in 23 files · 22 areas · 23× — pages/AccountingInvoicesPage, pages/AccountingOpenItemsPage, pages/AccountingReceivedInvoicesPage, pages/AiZamestnanciPage, pages/DokumentyPage, pages/FirmyPage …

Default

FirmaMěstoObchodyObjemVlastník
Brno Tech a.s.Brno31 250 000Štěpán Svoboda
Atol Capital s.r.o.Praha1480 000Petr Smutný
Modřice InvestModřice52 100 000Eva Dvořáková
components--segment-table--defaultOpen standalone ↗Code

Variants

FirmaMěstoObchodyObjemVlastník
Brno Tech a.s.Brno31 250 000Štěpán Svoboda
Atol Capital s.r.o.Praha1480 000Petr Smutný
Modřice InvestModřice52 100 000Eva Dvořáková
full — checkbox column, sortable header, summary row in the table's own tfoot (so the columns line up for free)
FirmaMěstoObchodyObjemVlastník
Brno Tech a.s.Brno31 250 000Štěpán Svoboda
Atol Capital s.r.o.Praha1480 000Petr Smutný
Modřice InvestModřice52 100 000Eva Dvořáková
lite — the same engine without the chrome: no checkbox, no column menu, no summary; for tables inside a record
FirmaMěstoObchodyObjemVlastník
Brno Tech a.s.Brno31 250 000Štěpán Svoboda
Atol Capital s.r.o.Praha1480 000Petr Smutný
Modřice InvestModřice52 100 000Eva Dvořáková
without the summary — the row is opt-in per listing, not a default
components--segment-table--variantsOpen standalone ↗Code

States

FirmaMěstoObchodyObjemVlastník
Brno Tech a.s.Brno31 250 000Štěpán Svoboda
Atol Capital s.r.o.Praha1480 000Petr Smutný
Modřice InvestModřice52 100 000Eva Dvořáková
selected rows — the checkbox appears on hover and stays once the row is picked; the bulk bar belongs to the screen, not to the table
FirmaMěstoObchodyObjemVlastník
loading — skeleton lines in the cells, so the columns keep their width and nothing jumps when data lands
FirmaMěstoObchodyObjemVlastník
Brno Tech a.s.Brno31 250 000Štěpán Svoboda
Atol Capital s.r.o.Praha1480 000Petr Smutný
Modřice InvestModřice52 100 000Eva Dvořáková
column overflow — when the table scrolls sideways, the frozen identity column casts a shadow so the reader knows what is pinned
FirmaMěstoObchodyObjemVlastník
Brno Tech a.s.Brno31 250 000Štěpán Svoboda
Atol Capital s.r.o.Praha1480 000Petr Smutný
Modřice InvestModřice52 100 000Eva Dvořáková
empty — this is what a listing with no rows shows today: the header and nothing under it. There is no empty state in the engine (see the review).
components--segment-table--statesOpen standalone ↗Code

With icon & kbd

FirmaMěstoObchodyObjemVlastník
Brno Tech a.s.Brno31 250 000Štěpán Svoboda
Atol Capital s.r.o.Praha1480 000Petr Smutný
Modřice InvestModřice52 100 000Eva Dvořáková
header icons mark the kind of column; the sort mark appears on the column that is sorted
The table carries no shortcut chips. Rows can be made keyboard-operable by the screen (`rowKeyboard`), and then Enter or Space opens the row — the row stays a `tr`, so the table semantics survive for screen readers.
components--segment-table--with-icon-and-kbdOpen standalone ↗Code

Composition

Firmy
FirmaMěstoObchodyObjemVlastník
Brno Tech a.s.Brno31 250 000Štěpán Svoboda
Atol Capital s.r.o.Praha1480 000Petr Smutný
Modřice InvestModřice52 100 000Eva Dvořáková
components--segment-table--compositionOpen standalone ↗Code
FirmaMěstoObchodyObjemVlastník
Brno Tech a.s.Brno31 250 000Štěpán Svoboda
Atol Capital s.r.o.Praha1480 000Petr Smutný
Modřice InvestModřice52 100 000Eva Dvořáková
„+“ at the end of the header row — the only entry to the column set
open: search · visible (table order) · separator · hidden; identity not listed
components--segment-table--column-panelOpen standalone ↗Code