This property returns a reference to the first selected data row. Returns null
object if no selected items. Once this method is called the iteration sequence is
reset so that calling nextSelectedData returns the second data key and so forth.
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;
}
}
}