Re: clist:get_row_data
| From: | Malk0 | Date: | Mon, 29 Nov 2004 16:34:16 +0000 |
| Subject: | Re: clist:get_row_data | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5271@lists.php.net to get a copy of this message | ||
On Mon, 29 Nov 2004 07:37:21 -0800, Oliver Hotz <oliver@heimlich.net> wrote:
Hi olivier,
have you use the clist::set_row_data method before trying to retrieve them?
you can see an example by <bens at effortlessis.com> at
http://gtk.php.net/manual/en/gtk.gtkclist.php
hope this help
regards
nathan
On Mon, 29 Nov 2004 07:37:21 -0800, Oliver Hotz <oliver@heimlich.net> wrote:
> I just can't get it to work... this is what I have:
>
> function QueueSelectRow( $objPara1)
> {
> $row = $this->arWidgets["queueclist"]->selection[0]; // selected row
> $rowdata = $this->arWidgets["queueclist"]->get_row_data($row);
> var_dump($rowdata);
> }
>
> $row gets assigned correctly, its either 0 or 1, depending which of my 2
> rows I select... however, $rowdata is always NULL :(
>
>
> Oliver
-- Malk0 --
venez discuter php-gtk en francais ici http://mk0phpgtk.xgarreau.org