method unselectData

void unselectData(value data,value collection);

Argumente

Zurückgegebener Wert

This method unselects 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. The rest of the current selection is ignored if present. This method is only relevant for collection bound boxes.
function onSample()
{
   var mailID="1327";
   var mailList = scene.getBoxById("mailList");
   if (mailList)
   {
       mailList.unselectData(mailID, gCollection);
   }
}