I am looking for a wxpython control which looks like treelistctrl but
has additional features like column repordering, column sorting etc. I
understand that wx.dataview and DataViewCtrl is the answer and this is
going to be part of wxpython2.9.1.
I downloaded this control from svn pre-release builds and its fine if
python2.6 used. But, I have other custom libraries which work only on
python2.3. So, how can I get this _dataview.pyd to work on Python2.3?
Do i need to rebuild using SWIG, VC++ etc etc? If so, how do i do it?
Otherwise, is there any other control which resembles DataViewCtrl and
works on python2.3? Any 3rd part or custom made control?
I am looking for a wxpython control which looks like treelistctrl but
has additional features like column repordering, column sorting etc. I
understand that wx.dataview and DataViewCtrl is the answer and this is
going to be part of wxpython2.9.1.
I downloaded this control from svn pre-release builds and its fine if
python2.6 used. But, I have other custom libraries which work only on
python2.3. So, how can I get this _dataview.pyd to work on Python2.3?
Do i need to rebuild using SWIG, VC++ etc etc? If so, how do i do it?
See the BUILD.* files where you got the 2.9 preview build. You should not need to deal with SWIG since all the files generated by SWIG are included in the source tarball. I expect that there are some things in the Python code in the library and perhaps in the build scripts too that are not compatible with Python 2.3, so you'll need to be prepared to deal with those. Also, unless you will also be rebuilding Python and the other extension modules you will be using then you must build wxPython with VC++ 7.1 to be compatible with the VC runtime used by Python.
Personally I think I would try updating your other extensions so you could use a more modern version of Python. It might be less of an effort and certainly would give you more benefits.
Otherwise, is there any other control which resembles DataViewCtrl and
works on python2.3? Any 3rd part or custom made control?
Have you looked at the HyperTreeList? I don't know if it gives you all that you want, nor if it is compatible with Python 2.3 and whatever version of wxPython that you are using, but it is at least worth a try.
Does HypertreelistCtrl have column reordering, column sorting? Please help…
Thanks,
Teja
···
On Wed, Oct 6, 2010 at 12:06 AM, Robin Dunn robin@alldunn.com wrote:
On 10/5/10 3:22 AM, Teja wrote:
Hi All,
I am looking for a wxpython control which looks like treelistctrl but
has additional features like column repordering, column sorting etc. I
understand that wx.dataview and DataViewCtrl is the answer and this is
going to be part of wxpython2.9.1.
I downloaded this control from svn pre-release builds and its fine if
python2.6 used. But, I have other custom libraries which work only on
python2.3. So, how can I get this _dataview.pyd to work on Python2.3?
Do i need to rebuild using SWIG, VC++ etc etc? If so, how do i do it?
See the BUILD.* files where you got the 2.9 preview build. You should not need to deal with SWIG since all the files generated by SWIG are included in the source tarball. I expect that there are some things in the Python code in the library and perhaps in the build scripts too that are not compatible with Python 2.3, so you’ll need to be prepared to deal with those. Also, unless you will also be rebuilding Python and the other extension modules you will be using then you must build wxPython with VC++ 7.1 to be compatible with the VC runtime used by Python.
Personally I think I would try updating your other extensions so you could use a more modern version of Python. It might be less of an effort and certainly would give you more benefits.
Otherwise, is there any other control which resembles DataViewCtrl and
works on python2.3? Any 3rd part or custom made control?
Have you looked at the HyperTreeList? I don’t know if it gives you all that you want, nor if it is compatible with Python 2.3 and whatever version of wxPython that you are using, but it is at least worth a try.
Another one to look at is ObjectListView
().
Check out the demo’s for it and HyperTreeList to see what you get
and don’t get.
I don’t think either has column re-order out of the box.
Werner
i looked into HypertreelistCtrl and ObjectListView
. Both dont have column reordering and sorting,
···
On Thu, Oct 7, 2010 at 12:20 PM, werner wbruhin@free.fr wrote:
On 07/10/2010 10:14, Tejovathi P wrote:
Does HypertreelistCtrl have column reordering, column
sorting? Please help…
Thanks,
Teja
On Wed, Oct 6, 2010 at 12:06 AM, Robin > > Dunn <robin@alldunn.com> > > wrote:
On 10/5/10 3:22 AM, Teja wrote:
Hi All,
I am looking for a wxpython control which looks like
treelistctrl but
has additional features like column repordering, column
sorting etc. I
understand that wx.dataview and DataViewCtrl is the answer
and this is
going to be part of wxpython2.9.1.
I downloaded this control from svn pre-release builds and
its fine if
python2.6 used. But, I have other custom libraries which
work only on
python2.3. So, how can I get this _dataview.pyd to work on
Python2.3?
Do i need to rebuild using SWIG, VC++ etc etc? If so, how
do i do it?
See the BUILD.* files where you got the 2.9 preview build.
You should not need to deal with SWIG since all the files
generated by SWIG are included in the source tarball. I
expect that there are some things in the Python code in the
library and perhaps in the build scripts too that are not
compatible with Python 2.3, so you’ll need to be prepared to
deal with those. Also, unless you will also be rebuilding
Python and the other extension modules you will be using then
you must build wxPython with VC++ 7.1 to be compatible with
the VC runtime used by Python.
Personally I think I would try updating your other extensions
so you could use a more modern version of Python. It might be
less of an effort and certainly would give you more benefits.
Otherwise, is there any other control which resembles
DataViewCtrl and
works on python2.3? Any 3rd part or custom made control?
Have you looked at the HyperTreeList? I don't know if it
gives you all that you want, nor if it is compatible with
Python 2.3 and whatever version of wxPython that you are
using, but it is at least worth a try.
I don’t know about HyperTreeList, but in ObjectListView this is pretty
easy. You can order the columns (ColumnDefn objects) the way you want
in a list, pass it to the SetColumns() method and rebuild your list.
Yes it does… … But does Objectlistview have tree like grouping (just like Hypertreelist or dataview). Thts what I am after,
Its a wrapper for listctrl I suppose…
···
On Thu, Oct 7, 2010 at 7:00 PM, werner wbruhin@free.fr wrote:
On 07/10/2010 14:42, Tejovathi P wrote:
i looked into HypertreelistCtrl and ObjectListView . Both dont have column reordering and sorting,
sorting is definitely in OLV, I use it and haven’t coded anything to make it happen.
Looking at the wxPython preview DataViewCtrl looks nice, so maybe you have to jump of Python 2.3 and get up to 2.5 or 2.6…
Go to Have a look at ‘Getting Started’, at the bottom of the page, it shows
what you can do with groups. Don’t know if that will fit your needs but
at least you get an idea.
Raphael
ObjectlistView2.4.1 has a TreeListView component which has all the features… But is there a corresponding Python version for it? I can see that there is only mapping till version1.2
···
On Fri, Oct 8, 2010 at 10:01 AM, Raphael Mayoraz maygeo@netplus.ch wrote:
On 2010-10-08 10:46, Tejovathi P wrote:
Yes it does… … But does Objectlistview have tree like
grouping (just like Hypertreelist or dataview). Thts what I am after,
Its a wrapper for listctrl I suppose…
On Thu, Oct 7, 2010 at 7:00 PM, werner wbruhin@free.fr > > wrote:
On 07/10/2010 14:42, Tejovathi P wrote:
i looked into HypertreelistCtrl and ObjectListView . Both dont have
column reordering and sorting,
sorting is definitely in OLV, I use it and haven’t coded anything to
make it happen.
Looking at the wxPython preview DataViewCtrl looks nice, so maybe you
have to jump of Python 2.3 and get up to 2.5 or 2.6…
Have a look at ‘Getting Started’, at the bottom of the page, it shows
what you can do with groups. Don’t know if that will fit your needs but
at least you get an idea.
I’m using the version of ObjectListView that you can download from the
web site I told about and it works fine with Python 2.6 and Python 2.7.
I would not try older Python versions.
yep… the latest OLV version available (to use in Python) is 1.2… This doesnt have treelistView
···
On Fri, Oct 8, 2010 at 11:00 AM, Raphael Mayoraz maygeo@netplus.ch wrote:
I’m using the version of ObjectListView that you can download from the
web site I told about and it works fine with Python 2.6 and Python 2.7.
I would not try older Python versions.
Raphael
On 2010-10-08 11:54, Tejovathi P wrote:
Thanks!!!
ObjectlistView2.4.1 has a TreeListView component which has all the
features… But is there a corresponding Python version for it? I can
see that there is only mapping till version1.2
On Fri, Oct 8, 2010 at 10:01 AM, Raphael > > Mayoraz maygeo@netplus.ch wrote:
On 2010-10-08 10:46, Tejovathi P wrote:
Yes it does… … But does Objectlistview
have tree like
grouping (just like Hypertreelist or dataview). Thts what I am after,
Its a wrapper for listctrl I suppose…
On Thu, Oct 7, 2010 at 7:00 PM, werner wbruhin@free.fr > > > > wrote:
On 07/10/2010 14:42, Tejovathi P wrote:
i
looked into HypertreelistCtrl and ObjectListView . Both dont have
column reordering and sorting,
sorting is definitely in OLV, I use it and haven’t coded anything to
make it happen.
Looking at the wxPython preview DataViewCtrl looks nice, so maybe you
have to jump of Python 2.3 and get up to 2.5 or 2.6…
Have a look at ‘Getting Started’, at the bottom of the page, it shows
what you can do with groups. Don’t know if that will fit your needs but
at least you get an idea.
ObjectlistView2.4.1 has a TreeListView component which has all the features.. But is there a corresponding Python version for it? I can see that there is only mapping till version1.2