I've had this exact problem several times. From what I can
see, there's no
simple work around. The problem is that the TreeListCtrl
API returns
TreeItems rather than ListItems. Since TreeCtrl has only
one column, you
can only get column 0. However, if the TreeListCtrl API
returned ListItems,
then you could get any column in the TreeListCtrl.
From what I remember, TreeListCtrl itself needs to be
patched.
>From: sendhil krishna <sendha_vin yahoo.com>
>Reply-To: wxPython-dev lists.wxwidgets.org
>To: wxpython-dev lists.wxwidgets.org
>Subject: [wxPython-dev] Editing in TreeListCtrl
>Date: Sat, 5 Aug 2006 03:29:04 -0700 (PDT)
>
>Hi all,
>Iam using a treelist control in wxpython for my
>project, which has 3 columns, and it works fine with
>me.
>Now, i need only the value of the third column to be
>editable. But the thing is, when i use TR_EDIT_LABELS,
>only the label of the root (ie. 1st col) is getting
>edited, which is not my requirement.
>Is there any loop hole., Any suggestions wud b of
>great help..,
>Thanx in advance.,
>krishna
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam protection
around
>http://mail.yahoo.com
>
>--------------------------------------------------------
-------------
>To unsubscribe, e-mail: wxPython-dev-unsubscribe lists.wxwidgets.org
>For additional commands, e-mail: wxPython-dev-help lists.wxwidgets.org
>
____________________________________________________________
_____
Don’t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/di
rect/01/
------------------------------------------------------------
---------
To unsubscribe, e-mail: wxPython-dev-unsubscribe lists.wxwidgets.org
For additional commands, e-mail: wxPython-dev-help lists.wxwidgets.org
|