property selection

(r/o) selection selection;

Typ

Zugriff

This property returns a selection object containing the collection of all selected rows within this select box.
See the Selection object for more details.
var list = scene.getBoxById("myList");
if (list)
{
    var sel = list.selection;
    if (sel)
    {
        var selData = sel.firstSelectedData;
        while (selData)
        {
            Foo(selData); // process data row
            selData = sel.nextSelectedData;
        }
    }
}