Hi,
I'm having problems coupling my model to a textEdit element.
I'm able to show the data that's in the model, but at the page refresh, the input data is lost and the original is shown again...
Render Cell Start
CASE p_column_key.
...
WHEN 'TXHOD'.
DATA lo_txt TYPE REF TO cl_htmlb_textedit.
CREATE OBJECT lo_txt.
lo_txt->cols = '40'.
lo_txt->disabled = 'FALSE'.
lo_txt->rows = '5'.
lo_txt->text = get_column_value( p_column_key ).
p_replacement_bee = lo_txt.
...
get_column_value => found this one working well with dropdownlists... but is only able to get the value for the textedit...
FIELD-SYMBOLS: <row> TYPE ANY, <col> TYPE ANY, <cur> TYPE ANY.
ASSIGN m_row_ref->* TO <row>.
ASSIGN COMPONENT column_name OF STRUCTURE <row> TO <col>.
IF sy-subrc <> 0.
column_value = 'X'.
RETURN.
ENDIF.
* check type
DATA l_type TYPE c.
DESCRIBE FIELD <col> TYPE l_type.
IF l_type EQ 'D' AND <col> IS INITIAL.
RETURN.
ENDIF.
DATA tempchar(240) TYPE c.
IF currency IS NOT INITIAL.
ASSIGN COMPONENT currency OF STRUCTURE <row> TO <cur>.
WRITE <col> CURRENCY <cur> TO tempchar.
MOVE tempchar TO column_value.
CONCATENATE column_value ` ` <cur> INTO column_value.
ELSE.
WRITE <col> TO tempchar.
MOVE tempchar TO column_value.
ENDIF.
CONDENSE column_value.
* column_value = cl_http_utility=>escape_html( column_value ).