[GH-ISSUE #346] Table refresh #259

Closed
opened 2026-03-04 01:03:25 +03:00 by kerem · 1 comment
Owner

Originally created by @ferllings on GitHub (Sep 13, 2019).
Original GitHub issue: https://github.com/rivo/tview/issues/346

Hello,

What is the best way to dynamically refresh a table?
When the table receive new cells some artifacts, from the previous state, are not removed.

For example, my table with no row looks like:
Screenshot 2019-09-13 at 17 29 50

But when it is populated, the columns width are adjusting, without removing the previous text:
Screenshot 2019-09-13 at 17 14 37

Thanks for your help

Originally created by @ferllings on GitHub (Sep 13, 2019). Original GitHub issue: https://github.com/rivo/tview/issues/346 Hello, What is the best way to dynamically refresh a table? When the table receive new cells some artifacts, from the previous state, are not removed. For example, my table with no row looks like: ![Screenshot 2019-09-13 at 17 29 50](https://user-images.githubusercontent.com/2118130/64875070-94928680-d64c-11e9-8df2-248ccededd3e.png) But when it is populated, the columns width are adjusting, without removing the previous text: <img width="684" alt="Screenshot 2019-09-13 at 17 14 37" src="https://user-images.githubusercontent.com/2118130/64875166-c7d51580-d64c-11e9-8cb0-f4464e294dd4.png"> Thanks for your help
kerem closed this issue 2026-03-04 01:03:25 +03:00
Author
Owner

@ferllings commented on GitHub (Sep 14, 2019):

Looks like the issue is caused by the use of

PrimitiveBackgroundColor:    tcell.ColorDefault,
<!-- gh-comment-id:531492522 --> @ferllings commented on GitHub (Sep 14, 2019): Looks like the issue is caused by the use of ``` PrimitiveBackgroundColor: tcell.ColorDefault, ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tview#259
No description provided.