I have a MultiSelect table.
<Table id="idProductsTable" inset="false" mode="MultiSelect" selectionChange="onInvoiceSelectionChange" items="{ path: '/value', sorter: { path: 'DocNum' } }">
I need to iterate through the table and determine whether each item is selected or de-selected.
var oModel = oTable.getModel();
var ItemArray = oModel.getProperty("/value/");
length = ItemArray.length;
for (i = 0; i < length; i++) {
//How can I tell if the item is selected? "Selected" is not in the model data.
//Is there a better way to iterate the table?
......
}
Thanks,
Mel