在wxpython的列上排序? [英] Sorting on on columns in wxpython?

查看:195
本文介绍了在wxpython的列上排序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个wxpython应用程序,该应用程序具有一组将显示在网格中的数据。我希望能够点击任何列标题并按该列进行排序。 ?什么是做到这一点的最好办法

I'm creating a wxpython app that has a bunch of data that will be displayed in a grid. I'd like to be able to click on any column header and sort by that column. What's the best way to do this?

推荐答案

有格在wxPython中的 Grid_MegaExample演示

There's an excellent example of grid sorting in the wxPython Grid_MegaExample demo.

这篇关于在wxpython的列上排序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆