Hi Experts,
i am using select options in my application.
i have made two block for the selec options (transparent container 1 and transparent container 2) by using add_block method of select option.So i cant do the normal context binding as containers are created programatically.
Now i have a requirement to hide one of the block on click of an event so that the select options inside is also hidden.
DATA lo_ui_element type ref to CL_WD_UIELEMENT.
DATA lo_container TYPE REF TO cl_wd_uielement_container.
DATA lo_transc TYPE REF TO cl_wd_view_element.
" get root container
lo_container ?= view->get_root_element( ).
*" get button reference
lo_transc ?= lo_container->get_child() // Get the tray which container the view container of select options.
then inside this i have the transparent container which has the selec options.
Please help
Tashi