method setCursorRowData

void setCursorRowData(value data,value collection);

Argumente

Zurückgegebener Wert

This method moves the cursor to a data row where data is assumed to uniquely identify the data item. ‘aData' is interpreted as an index into the collection unless a key field has been specified on the binding. This method is only relevant for collection bound boxes.
function onSample()
{
    var mailID="1327";
    var mailList = scene.getBoxById("mailList");
    if (mailList)
    {
        mailList.setCursorRowData(mailID, gCollection);
    }
}