New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added new Tableview widget and tableview module #110
Conversation
- remove scaling from scrollbar
- refactor classes
…function to account for page heading; added experimental pagesize combobox; add horizontal scrollbar
I did some tests (Linux Mint x64 Cinnamon X11), some suggestions for change: Sorting image was cut off when doing autofit_columns. I changed for this and fixed the problem: Changed menu post method to tk_popup, several lines. Thus, the dropdown menu is displayed when hovering over the parent. example: to: (in every 'post' to tk_popup) I also changed the way to write csv.
for CSV_DELIMITER = ';'
CSV_QUOTECHAR = '"'
writer = csv.writer(f, delimiter=CSV_DELIMITER, quotechar=CSV_QUOTECHAR, quoting=csv.QUOTE_NONNUMERIC) Because depending on the country's local currency, using ',' as a delimiter can cause csv conflicts bugs: modified: There is also a bug with 'hide select rows'. Another problem if the user hides all the rows there is no way for him to reload the data. It would be nice to have a reload/refresh data button as suggested before A complement.The header separator could be in a different color than the header. For the program user, it is difficult to identify where this separator to double-click See the image. When the program is loaded. The separator is in an unexpected position for the user to find. If the separator were a line with a different color from the header, it would be easier to find. |
The new tableview module includes the new Tableview class and several other related classes.
This is a wrapper on the Treeview widget with built-in functionality such a searching, sorting, and various other functions available via right-click menus on the header and cells.
Data can be loaded via the widget constructor or with
insert_row
andinsert_column
methods.I've added methods to autoalign and autofit the columns to the data.