Refreshing a single row? #31
Unanswered
netherfoam
asked this question in
Q&A
Replies: 1 comment
-
For now, I have extended CTkTable and extracted draw_table(..) minus the outer (row) loop - gist. Perhaps there's a better way to approach this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm using this lib to display a table that's 4 columns by 20 rows. The first column is an identifier which is added as soon as the table is loaded, and the remainder of the columns are computed row-by-row in another thread. They take 1-2 seconds to compute, so I'd like to update a single row at a time in the table, and only redraw the single row.
Currently I'm redrawing the entire table:
This takes a while to redraw and has a visible effect as CTkTable iterates through each row and cell.
Is there a convenient way to do this, or would I be best suited to try replicate a small portion of draw_table(..) as a draw_row(..) function?
Beta Was this translation helpful? Give feedback.
All reactions