cancel
Showing results for 
Search instead for 
Did you mean: 

Getting the selected value in tableview.

Former Member
0 Kudos

Hi friends,

In tableview am displaying some 5 columns in which one column is in dropdown.I want to modify the tableview.But unable to get the selected value at the particlular cell

(the column which is in dropdown) in tableview.

I have tried by using the method GET_CELL_ID.and get_form_field also.But am not getting the selected value only for this column.For remaining columns am getting the values properly.

Can anybody pls help me how should i catch the selected value for a particular column in tableview.

Thanks in advance.

Regards

sireesha

Accepted Solutions (0)

Answers (1)

Answers (1)

athavanraja
Active Contributor
0 Kudos

in the cell you are rendering a dropdwonlistbox, so to read the content of the same use

data: data type ref to cl_htmlb_dropdownlistbox.

  data ?= cl_htmlb_manager=>get_data( request      = runtime->server->request
                                          name         = 'dropdownListBox'
                                          id           = 'DDLB1'
                                        ).
      if data is not initial.
        tab1sel = data->selection.
      endif.

for id use the same id given in the interator-render_cell_start method for this

Regards

Raja