I have a dropdown control in view and button which should all the values in page. Basically which acts like refresh button
Now when I select on value from the drop down and when I clicked the Clear button. I am using the below code for refresh the view
View name is Metrics.
I am deleting the content and adding the same
sap.ui.getCore().byId("idContainer").removeAllContent();
var view = sap.ui.getCore().byId("idMetrics");
sap.ui.getCore().byId("idContainer").addContent(view);
The value in the button is not getting cleared. I have used several methods provided in the UI5 API reference library to clear the content But the value not getting clear
Can you please let me know how to clear the value from the Drop down I am using the list Item to add the contents to the DropDown
Thanks Pawan Akella