Re: an easy one...ctree question
| From: | Rich Payne | Date: | Mon, 14 May 2001 17:00:48 +0000 |
| Subject: | Re: an easy one...ctree question | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-1831@lists.php.net to get a copy of this message | ||
On Mon, 14 May 2001, Andrei Zmievski wrote:
> On Mon, 14 May 2001, Rich Payne wrote:
> >
> > OK, so after my last problem this should be an easy one :)
> > Can anyone tell me what I'm doing wrong, the node_get_text fails on the
> > 1st column, but return the correct value if I click on the same row, but
> > the 2nd column. (the error for the 1st
> > is:<b>Warning</b>: node_get_text() cannot get text value in
> > <b>test.php</b> on line <b>24</b>)
>
> Ok, the problem is that the firstcolumn is a pixtext column by default,
> since it contains icons for the ctree (even if you did not specify them,
> it's still a pixtext column). So, instead of using node_get_text() you
> should be using node_get_pixtext(), but I haven't implemented that one
> yet. ;-)
>
> Soon, I hope.
OK, so for the moment I should be able to put nothing (null) into the 1st
column and use 2 and 3. OK, that'll work.
thanks,
--rdp
--
Rich Payne
rpayne@alphalinux.org www.alphalinux.org