What do you mean by "position"? You mean the "x" of data[x][0] for the
current selected index?
For that may be you can add the elements to the ListBox in the order of
array then the listBox.getSelectedIndex() is the x you want or if its not
possible then while creating the LB you can add the value of the listbox
items as the index of the array like:

listBox.addItem(data[x][0], x + "");

Hope this helps.

- Litty


On Mon, Dec 29, 2008 at 1:54 PM, jake H <pnosti...@gmail.com> wrote:

>
> put an onChange() and with a for loop to check in what position i
> am ??
>
> Is there any more fast way to parse data with onChange()? or should i
> use a for loop in order to find the position ?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to