mirror of
https://github.com/rivo/tview.git
synced 2025-04-26 13:49:06 +08:00
Merge beddc35deef94fbe7ce1aea647893a7ff2fd396e into c76f7879f592d17e9e68a1d795a85faae6cb7414
This commit is contained in:
commit
e0df8de2cd
5
table.go
5
table.go
@ -563,6 +563,11 @@ func (t *Table) SetContent(content TableContent) *Table {
|
|||||||
return t
|
return t
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GetContent returns current table's content
|
||||||
|
func (t *Table) GetContent() TableContent {
|
||||||
|
return t.content
|
||||||
|
}
|
||||||
|
|
||||||
// Clear removes all table data.
|
// Clear removes all table data.
|
||||||
func (t *Table) Clear() *Table {
|
func (t *Table) Clear() *Table {
|
||||||
t.content.Clear()
|
t.content.Clear()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user