Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all articles
Browse latest Browse all 4841

set the value in UI5 DropDownBox

$
0
0

Hi All,

 

One of my requirement is to get the value from the oTable and set the value to the DropDownbox.

My code

 

 

var shift =oModelCalc.getProperty("Shift",selectedRow);

alert(shift);

oDropDownBox.setValue(shift);

 

I am getting the right value in the alert "shift" but the value is not passing through dropbox.

 

I also tried with

 

if(shift="A")

{

oDropDownBox.setValue("A");

}

 

else

{

oDropDownBox.setValue("B");

}

 

but no solution ... can any one help.

 

Regards

G.Partheeban


Viewing all articles
Browse latest Browse all 4841

Trending Articles