Info on how to dump a whole array of lists into CtkTable #35
KetchupAndMustard12
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just putting it here for those that are looking to update the number of rows and dumping info into the table:
To update the table with a variable list, use
table_name.configure(rows=x) ## With var x being the number of rows you need
table_name.update_values(var_list) ## With var var_list being the list you are trying to import into the table.
Note that the bolded text says "rows", and not "row". Not sure if this is a typo as the Arguments page says "row", but this is the value that the function "draw_table" uses in order to adjust the row length.
This should allow for people to quickly update their table, rather than looping though a list and trying to add more rows.
Beta Was this translation helpful? Give feedback.
All reactions