1. ListView setIndex()

If the selected items in a listview is {1, 2, 3}
then I do setIndex(lv, 5),
the selected items become {1, 2, 3, 5}.

How to deselect an item?

Using setIndex(lv, 0) doesn't work (a bug?)

Thanks!

new topic     » topic index » view message » categorize

2. Re: ListView setIndex()

----- Original Message -----
From: "aku saya" <akusaya at gmx.net>
To: "EUforum" <EUforum at topica.com>
Subject: ListView setIndex()


>
>
> If the selected items in a listview is {1, 2, 3}
> then I do setIndex(lv, 5),
> the selected items become {1, 2, 3, 5}.
>
> How to deselect an item?
>
> Using setIndex(lv, 0) doesn't work (a bug?)
>
Sorry to have taken so long to respond to this one.

I'm guessing you have a Multiple Selection list because the setIndex(lv, 0)
only works for single selection lists.  I've just finished fixing the
library to support multiple selection lists. I'll be uploading the new
version tomorrow (about 24 hours from now). I'd post it here but quite a lot
of code changes were needed.

--
Derek.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu