cancel
Showing results for 
Search instead for 
Did you mean: 

Alignment of drodown and select options

Former Member
0 Kudos

Hi all,

I have a situation , i need to show a drodown and select option in a row

Like this

DROPDOWN1 SELECTOPTION1

When i press "Add"

Another

Dropdown2 SELECTOPTION2 is shown.

I am generating the second drodown dynamically

and problem is the height of the seconddrop down is not in line with the second select option.

Both of the select option are on one VCU

Any inputs ? Higly appreciate

Bhanu

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Create the second dropdown also in the same container in which first dropdown is there..

set the layout properties.

if matxix layout is used

DATA LR_MATRIX TYPE REF TO CL_WD_MATRIX_HEAD_DATA.

DATA LR_MATRIX1 TYPE REF TO CL_WD_MATRIX_DATA.

LR_MATRIX = CL_WD_MATRIX_HEAD_DATA=>NEW_MATRIX_HEAD_DATA( LR_LABEL ).

LR_MATRIX1 = CL_WD_MATRIX_DATA=>NEW_MATRIX_DATA( LR_DROPDOWN ).

gill367
Active Contributor
0 Kudos

Place both the dropdowns also in one transparent container.

and put it to the left of the VC used for select options.

thanks

sarbjeet singh

former_member186491
Contributor
0 Kudos

Hi Bhanu,

One work-around would be --

you can use a block to place Select-Option and Drop-Down within that and make that Block dynamic based on your criteria. This way you can make sure every time the block is coming, that would in a fixed alignment.

Just for your reference --

[http://help.sap.com/saphelp_nw70ehp1/helpdata/en/45/bf07361248003de10000000a11466f/content.htm]

Hope this may be of your help.

Thanks.

Former Member
0 Kudos

Hi Bhanu,

Create Transaprent Container also dynamically and pleace your drop down and select option in that,

I think u get correct placement.

Hope it helps you.

Cheers..

Kris.