Skip to Content
0
Oct 20, 2016 at 02:18 PM

SAP Design Studio dropdown list populating 'ALL' value when setSelectedValue() is provided

1970 Views Last edit Oct 20, 2016 at 03:14 PM 2 rev

Hi Experts,

I am working on Design Studio v1.5.

The dropdownlist should display a Category value by default. There is no prompt for Category and should not have it as per business requirement.

The Code is as below-

Line 1  Dropdown_1. setItems(.........) without 'ALL' value.
Line 2  Dropdown_1.setSelectedValue("Shopping");
Line 3  text_title.setText(Dropdown_1.getSelectedValue());

Even though, the text box displays the selected value as "Shopping", 'ALL' is populated in dropdown_1 :(

Please help resolve this!!

Many thanks in advance.

Best Regards,

Rashmi