Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataTable ¶
type DataTable struct {
Element // value embed — NEVER pointer (TinyGo heap constraint)
Headers []string // column titles, fixed at construction
Rows [][]string // initial rows, rendered on first paint; empty is fine
// contains filtered or unexported fields
}
DataTable renders a table whose body rows can be provided up front (Rows) and/or updated later via SetRows (e.g. after an async fetch resolves). Header columns are static — only the body is reactive.
Click to show internal directories.
Click to hide internal directories.