Hello,
we use in our MVC-Application the htmlb-iterator to render table fields with checkboxes. Within the iterator-class renderer_cell_start we have to know if the current checkbox is ticked or not to enable/disable other checkboxes.
How can we retrieve the value of the name-field given in p_cell_binding?
We set the value like this:
..
CREATE OBJECT lo_checkbox.
lo_checkbox->id = p_cell_id.
...
lo_checkbox->_checked = p_cell_binding.
..
p_replacement_bee = lo_checkbox.
Regards, Bernd
p_row_data_ref gives you a pointer to the row of the internal table you are currently processing. You can moving this into a workable structure by assigning this reference to a field symbol and moving that to a variable that matches the structure of your internal table.
field-symbols: to tempchar.
move tempchar to column_value.
endif.
condense column_value.
Add a comment