feat(table): added column return func (#369)

This commit is contained in:
Abe Leininger
2024-02-28 11:39:37 -05:00
committed by GitHub
parent 9fb83699e9
commit 9a7c783a75
+5
View File
@@ -276,6 +276,11 @@ func (m Model) Rows() []Row {
return m.rows
}
// Columns returns the current columns.
func (m Model) Columns() []Column {
return m.cols
}
// SetRows sets a new rows state.
func (m *Model) SetRows(r []Row) {
m.rows = r