Hi,
I am using sap.m.ComboBox in the following way:
var oItemTemplate = new sap.ui.core.Item({
"{key}",
"{text}"
});
var combobox = new sap.m.ComboBox("cmb1",{
items : [ {
"key" : "*",
"text" : "All Data"
"key" : "SAP",
"text" : "SAP"
"key" : "ITelO",
"text" : "ITelO"
} ],
template : oItemTemplate,
selectionChange : oController.Selection
});
Now want to fetch data on selectionChange event. Can someone help in fetching the value selected?