on 04-21-2014 8:23 AM
Hi,
Use Matrix layout, create 2 transparent containers, set the layout of first container with Matrix Head Data and place the radio buttons in it, and set the layout of another container with matrix data and place View Container UI element in it to place select options. ( you may have to adjust the height/ vAlign of Transparent container inorder to appear it next to the radio buttons)
OR, Instead of using select options, you can create 2 input fields next to each radio button and build the range table based on the values in the input fields( You will miss select options extensions in this case).
hope this helps u,
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can set the empty text to the radio button. Or just append initial line the initial line.
Write the below code in WDDOINIT method:
DATA lo_nd_radio TYPE REF TO if_wd_context_node.
DATA lt_radio TYPE wd_this->elements_radio.
* navigate from <CONTEXT> to <RADIO> via lead selection
lo_nd_radio = wd_context->get_child_node( name = wd_this->wdctx_radio ).
APPEND INITIAL LINE TO lt_radio.
APPEND INITIAL LINE TO lt_radio.
APPEND INITIAL LINE TO lt_radio.
APPEND INITIAL LINE TO lt_radio.
lo_nd_radio->bind_table( new_items = lt_radio set_initial_elements = abap_true ).
Regards,
Kiran
Hi Kiran i Got My self instead of using the radiobuttongroupofindex I used
radiobuttongroupbykey
Could you please help how to hide the select-option fields in webdynpro
there are four radio buttons
for every radiobutton there is corresponding select_option filed is associated to it
user as only provision to select one radio button and reset of the select-option fileds should be hidden
which ever the radio button is selected ONLY corresponding select-options fileld should be displayed
please find the attachement below
Hi,
If you hide the selection fields, you are going to loose the alignment i.e. when you select RADIO button 4, only CUSTOMER selection field is visible and it comes on top... so always you will be having one selection field.
Hence I suggest you to go with enable / disable of selection fields based on radio button selection.
Please refer the below document
Hope this helps you.
Regards,
Rama
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.