|
54 | 54 | master = root, |
55 | 55 | coldata = column_headers, |
56 | 56 | rowdata = row_data, |
57 | | - pagesize = 5, |
| 57 | + pagesize = 10, # display 10 row entries per page |
| 58 | + height = 5, # displays onl5 of the 10 rows,rest you have to scroll down |
58 | 59 | autofit = True, |
59 | | - paginated = True, |
60 | | - searchable = True, |
| 60 | + paginated = True,# organize into pages,each page will have 10 rows as specified in pagesize = 10, |
| 61 | + searchable = True,# Searchbox = True |
61 | 62 | bootstyle = SUCCESS, |
62 | | - #stripecolor = (colors.primary, colors.secondary), |
63 | | - stripecolor = (colors.light, None), |
| 63 | + |
| 64 | + stripecolor = (colors.light, None),#alternate rows coloured in light shade for easy reading |
64 | 65 | ) |
65 | 66 |
|
66 | 67 | data_table.pack(fill = BOTH, expand = YES, padx = 15, pady = 15) |
|
0 commit comments