Question about DataViewCtrl

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?
Otherwise, is there any other control which resembles DataViewCtrl and
works on python2.3? Any 3rd part or custom made control?

Please help...

Thanks,
Teja

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.

···

On 10/5/10 3:22 AM, Teja wrote:

--
Robin Dunn
Software Craftsman

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.

Robin Dunn

Software Craftsman

http://wxPython.org

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

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

···

http://objectlistview.sourceforge.net/python/

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.

Another one to look at is ObjectListView

(http://objectlistview.sourceforge.net/python/).

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

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

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.

Raphael

···

wxPython-users+unsubscribe@googlegroups.com
http://groups.google.com/group/wxPython-users?hl=en

ObjectListView has sorting!

It kinda support coloumn reordering in the sense that you can call

olv.SetColumns([ColoumnDef,…]) over and over to reorder the cols…

···

On Thu, Oct 7, 2010 at 10:42 AM, Tejovathi P tejovathi.p@gmail.com 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.......

Werner

···

On 07/10/2010 14:42, Tejovathi P wrote:

i looked into HypertreelistCtrl and ObjectListView . Both dont have column reordering and sorting,

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…

Werner

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

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

···

wxPython-users+unsubscribe@googlegroups.com
http://groups.google.com/group/wxPython-users?hl=enhttp://objectlistview.sourceforge.net/python/

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…

Werner

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

To unsubscribe, send email to
wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

Go to http://objectlistview.sourceforge.net/python/

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

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

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

···

wxPython-users+unsubscribe@googlegroups.com
http://groups.google.com/group/wxPython-users?hl=en

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…

Werner

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

To unsubscribe, send email to
wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

Go to http://objectlistview.sourceforge.net/python/

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

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

To unsubscribe, send email to
wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

When I last looked 2.x is only on .net.

There is some stuff in the SVN which is not in 1.2, but I think specific questions about OLV should be asked on their list.

https://sourceforge.net/projects/objectlistview/forums/forum/825500

Werner

···

On 08/10/2010 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