Open LucasRibeiroRJBR opened 4 months ago
you have to put your table in a scrollable frame, or load your data in sets of 10 items at a time (similar to pages system)
@LucasRibeiroRJBR Use the CTkScrollableFrame or my CTkXYFrame
Use pack or grid method only.
I just read the len() of my data, and if its bellow a treshold, i manually set the table to row=10, if it's above the threshold, i change the frame to a scrollable frame and pack the table in with the new total len(). this way the table will always be 10 rows, or max len of my data.
Thank you for advices @BP-Feral and @Akascape . @Akascape , do you have plans to unit all your personalized CTks projects into a single package?
Hi. Is there any way to implement a maximum number of rows in the table and, when it passes this maximum limit, makes the table scrollable? In my project, I am returning the number of rows from a database to put in the
row
parameter ofCTkTable
, which eventually exceeds the view limit of any monitor.