ui.tables
ui.tables
Table rendering helpers for the TapMap UI.
Provide reusable helpers for building HTML tables used across multiple UI views.
ColumnSpec
dataclass
Describe one table column.
Source code in ui/tables.py
16 17 18 19 20 21 | |
cell(text, *, title=None)
Render a table cell with truncation and tooltip.
Source code in ui/tables.py
24 25 26 27 28 29 | |
build_table(*, class_name, columns, header_cells, body_rows)
Build a Dash HTML table with colgroup, thead and tbody.
Source code in ui/tables.py
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | |
kv_table(rows)
Build a two column key/value table with tooltips.
Source code in ui/tables.py
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | |