问题描述
限时送ChatGPT账号..目前我正在使用 Treeview.问题是我使用了相当大的数据集.为了使 GUI 不是很大,我限制了 Treeview 的大小以适应窗口并添加了垂直和水平滚动条.它完全按照我想要的方式显示数据,但是在每个方向滚动时都存在速度问题.是否有更好/更快的方式来显示类似电子表格的数据.
Currently I am using a Treeview. The problem is that I am using quite a large data set. So that the GUI isn't massive, I've limited the size of the Treeview to fit the window and added vertical and horizontal scrollbars. It displays the data exactly how I want, however there are speed issues when scrolling in each direction. Is there a better/faster way to display spreadsheet-like data.
推荐答案
我最终使用了 pandastable (https://github/dmnfarrell/pandastable).因为它提供了一种以类似电子表格的方式显示数据的快速简便的方法.它还提供了很多内置功能,例如:对列进行排序、过滤和应用函数
I ended up using pandastable (https://github/dmnfarrell/pandastable). As it provided a quick and easy way of displaying data in a spreadsheet like manner. It also provides a lot of built in functionality, such as: sorting, filtering and applying functions to columns
这篇关于应如何在 Tkinter 中显示可滚动电子表格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
更多推荐
[db:关键词]
发布评论