Hello Geeks,
I am using the class cl_htmlb_dropdownlistbox=>factory for building the dynamic drop down after some button click in my Page.
w_bee = cl_htmlb_dropdownlistbox=>factory(
id = p_cell_id
selection = m_row_ref->newfield
table = m_newfield
nameofkeycolumn = 'NAME'
nameofvaluecolumn = 'VALUE'
onclientselect = 'NEWFIELD').
And for getting the selected values,i am using the below code ..but still i am unable get the selected value from UI...can any one help me out..
IF event->name = 'dropdownListBox'
AND event->event_type = 'select'.
DATA: data TYPE REF TO cl_htmlb_dropdownlistbox.
DATA: l_get_value(40) TYPE c.
data ?= cl_htmlb_manager=>get_data(
request = runtime->server->request
name = 'dropdownListBox'
id = p_cell_id ).
IF data IS NOT INITIAL.
l_get_value = data->selection.
ENDIF.
I unable to get the value from the UI by using the above code...
Can anyone help me ..if i am wrong.
Thanks in Advance
srini