[GH-ISSUE #433] Table Refresh #317

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

Originally created by @eatingBadger on GitHub (Apr 18, 2020).
Original GitHub issue: https://github.com/rivo/tview/issues/433

Good day I am new to go and having an issue understanding the Table primitive in Tview. I would like to refresh the content of my table after updating the cell content. I am having trouble understanding what inputs to pass to the table.draw() as I cant seem to find a screen tcell.Screen object.
I have tried to work through your table example but I am having trouble fully understanding it. After giving the app root how could I call an infinite function that counts +1 and updates for example cell [0,0] by that value?
Thank you

Originally created by @eatingBadger on GitHub (Apr 18, 2020). Original GitHub issue: https://github.com/rivo/tview/issues/433 Good day I am new to go and having an issue understanding the Table primitive in Tview. I would like to refresh the content of my table after updating the cell content. I am having trouble understanding what inputs to pass to the table.draw() as I cant seem to find a screen tcell.Screen object. I have tried to work through your table example but I am having trouble fully understanding it. After giving the app root how could I call an infinite function that counts +1 and updates for example cell [0,0] by that value? Thank you
kerem closed this issue 2026-03-04 01:03:54 +03:00
Author
Owner

@eatingBadger commented on GitHub (Apr 18, 2020):

Studied the timer example and it made it the app.draw() much clearer.

<!-- gh-comment-id:615881841 --> @eatingBadger commented on GitHub (Apr 18, 2020): Studied the timer example and it made it the app.draw() much clearer.
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#317
No description provided.