Hi,
    The SelectionManager of the List object captures the order of the
selection also.
When I get the selected Items, I get the items in the order of selection,
not in the order of Index.

In some scenario this is good, but this creates problem in some scenario.
I need to provide Up and Down button actions for a List Object.

Let's say I have 3 Objects:
0 - Zero
1 - One
2 - Two

If I select (2 - Two) first and (1 - One) next, and perform "Up" action,
I get the selected Items and iterate through.
First I get (2 - Two) item, when I move one index up, the result List
becomes
0 - Zero
2 - Two
1 - One

Next I get (1 - One) item, when I move one index up, the result List becomes
the original.
0 - Zero
1 - One
2 - Two

Is there a way to turn off that feature of retaining the order of selection
and 
get the selected Items by the index?

Thanks,
Raffi

-- 
View this message in context: 
http://www.nabble.com/List---getSelectedItems%28%29-tp18688055p18688055.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to