Versions in this module Expand all Collapse all v0 v0.20.0 Feb 24, 2026 Changes in this version + const HeaderRow + func DataToMatrix(data Data) (rows [][]string) + func DefaultStyles(_, _ int) lipgloss.Style + type Data interface + At func(row, cell int) string + Columns func() int + Rows func() int + type Filter struct + func NewFilter(data Data) *Filter + func (m *Filter) At(row, cell int) string + func (m *Filter) Columns() int + func (m *Filter) Filter(f func(row int) bool) *Filter + func (m *Filter) Rows() int + type StringData struct + func NewStringData(rows ...[]string) *StringData + func (m *StringData) Append(row []string) + func (m *StringData) At(row, cell int) string + func (m *StringData) Columns() int + func (m *StringData) Item(rows ...string) *StringData + func (m *StringData) Rows() int + type StyleFunc func(row, col int) lipgloss.Style + type Table struct + func New() *Table + func (t *Table) BaseStyle(baseStyle lipgloss.Style) *Table + func (t *Table) Border(border lipgloss.Border) *Table + func (t *Table) BorderBottom(v bool) *Table + func (t *Table) BorderColumn(v bool) *Table + func (t *Table) BorderHeader(v bool) *Table + func (t *Table) BorderLeft(v bool) *Table + func (t *Table) BorderRight(v bool) *Table + func (t *Table) BorderRow(v bool) *Table + func (t *Table) BorderStyle(style lipgloss.Style) *Table + func (t *Table) BorderTop(v bool) *Table + func (t *Table) ClearRows() *Table + func (t *Table) Data(data Data) *Table + func (t *Table) FirstVisibleRowIndex() int + func (t *Table) GetBorderBottom() bool + func (t *Table) GetBorderColumn() bool + func (t *Table) GetBorderHeader() bool + func (t *Table) GetBorderLeft() bool + func (t *Table) GetBorderRight() bool + func (t *Table) GetBorderRow() bool + func (t *Table) GetBorderTop() bool + func (t *Table) GetData() Data + func (t *Table) GetHeaders() []string + func (t *Table) GetHeight() int + func (t *Table) GetYOffset() int + func (t *Table) Headers(headers ...string) *Table + func (t *Table) Height(h int) *Table + func (t *Table) LastVisibleRowIndex() int + func (t *Table) Render() string + func (t *Table) Row(row ...string) *Table + func (t *Table) Rows(rows ...[]string) *Table + func (t *Table) String() string + func (t *Table) StyleFunc(style StyleFunc) *Table + func (t *Table) VisibleRows() int + func (t *Table) Width(w int) *Table + func (t *Table) Wrap(w bool) *Table + func (t *Table) YOffset(o int) *Table Other modules containing this package github.com/haochend413/lipgloss/v2