Hi,
I have list:
var list = new sap.m.List("actlistDlg",{
mode: sap.m.ListMode.MultiSelect,
includeItemInSelection: true,
width:"280px",
/*items: {
path: "/ProductCollection",
template: new sap.m.StandardListItem({
title: "{NAME1}",
description: "{NAME2}",
})
}
*/
});
var temp = new sap.m.StandardListItem("actlistDlgTemplate", {
title: "{CHILD_TO_PARTNER/LASTNAME}",
description: "{CHILD_TO_PARTNER/FIRSTNAME}",
customData: [
new sap.ui.core.CustomData({
key: "path",
value: "x"
}),
],
});
list.bindItems(/", temp);
After I opened a dialog, I want ot get the selected context from the lts.
I use list.getSelectedContexts(true)
I allways get an error, that the object list does not have such a method....
Is there any example, how I can get selected values from muli-list?
jens