Hi All,
I am facing an issue in dropdown list box.
I am setting the selcted item in listbox using method setSelectedItem and the I am trying to read the selected item using method getSelectedItem. But this returns null. Below is the code I tried, can anyone let me know what I did wrong?
firstItem = this.getView().byId("idMachine4").getItems()[0].mProperties.text; this.getView().byId("idMachine4").setSelectedItem(firstItem,true);
var abdf =this.getView().byId("idMachine4").getSelectedItem();
here addf is null.
Thanks, Gilby