Hi Sebastian,

        Sorry for late example, since my data is read from server dynamically, 
so i write a new test with static data which is atteched here.
        
        I almost use the example of demo/test/list_4.html, only i do is to give 
every QxListItem an ID and with a QxTextField  to show the item's label. When i 
run it, at first click, it goes write, for it shows the information when i 
after click, but latter it goes chaos.

        Please help me to see whether my code is right or wrong, thanks in 
advance :)
        

>======= 2006-04-10 15:25:00 您在来信中写道:=======
>
>>Mengya Tang schrieb:
>>> Hi~~
>>>
>>>
>>>     I met a problem when i use QxList, for list i add an eventListener for 
>>> it as follows :
>>>
>>>      insList.getManager().addEventListener("changeSelection", function(e) {
>>>             var currentItem = insList.getManager().getSelectedItem();
>>>             var id = currentItem.getUserData("ID");
>>>         tCurrentConceptInput.setValue(currentItem.getLabel());
>>>       });
>>
>>
>>The changeSelection should IMHO only fire, when the selection will be
>>changed. This couldn't be done with a simple mousemove. You must click
>>somewhere. I don't see why this shouldn't work.
>>
>>Can you please attach an example to your next mail (which runs out of
>>our demo folder) and shows your problem? Thanks.
>>
>>Sebastian
>>
>>>
>>>     but the list is so sensitive that whenever i move around the list area 
>>> without mouse event, it will change the selection by itself, which is of 
>>> course i do not to happen. When i want to use function QxList_onclick(e) to 
>>> solve the problem, but it is a pity that this function is private, how can 
>>> i solve the problem, that is only when i click on list item of this list, 
>>> then the listener do something i want ?
>>>
>>>     thanks :)
>>>
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
>>> that extends applications into web and mobile media. Attend the live webcast
>>> and join the prime developer group breaking into this new coding territory!
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
>>> _______________________________________________
>>> Qooxdoo-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by xPML, a groundbreaking scripting language
>>that extends applications into web and mobile media. Attend the live webcast
>>and join the prime developer group breaking into this new coding territory!
>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
>>_______________________________________________
>>Qooxdoo-devel mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>= = = = = = = = = = = = = = = = = = = =
>                       
>
>        致
>礼!
>
>                               
>        Mengya Tang
>[EMAIL PROTECTED]
>          2006-04-10

= = = = = = = = = = = = = = = = = = = =

        致
礼!


        Mengya Tang
[EMAIL PROTECTED]
          2006-04-10

Attachment: List_4.html
Description: Binary data

Reply via email to