on 05-17-2006 4:13 PM
Hi everybody!
I wonder how I could do the following :
in a tableview, using iterator, have a cell with both :
- a free text (html)
- an inputfield
the result would be a table like that :
"
Item | Weight | Length
10000125 | = [inputfield] kg | = [inputfield] m
10000132 | = [inputfield] kg | = [inputfield] m
...
"
Huh? Would be fine, like!
Maybe someone could help me ?
Because I know how to insert the input field :
DATA col1_inputField TYPE REF TO CL_HTMLB_INPUTFIELD.
CREATE OBJECT col1_inputField.
p_replacement_bee = col1_inputField.
and also the free text :
p_replacement_bee = CL_HTMLB_TEXTVIEW=>FACTORY( text = html_output ).
... but how to mix them together ?
Thanks a lot for you all for all past and coming help!
François
Hi Francois,
this can easily be achieved with a bee table. You can do something like this:
DATA: if_input TYPE REF TO CL_HTMLB_INPUTFIELD,
if_text TYPE REF TO CL_HTMLB_TEXTVIEW.
if_input = CL_HTMLB_INPUTFIELD=>FACTORY( id = p_cell_id
id_postfix = '_input'
type = 'INTEGER' ).
if_text = CL_HTMLB_TEXTVIEW=>FACTORY( id = p_cell_id
id_postfix = '_text'
text = 'my text' ).
DATA: whole_cell TYPE REF TO CL_BSP_BEE_TABLE.
CREATE OBJECT whole_cell.
whole_cell->ADD( if_input ).
whole_cell->ADD( if_text ).
p_replacement_bee = whole_cell.
Please also have a look at weblog:
/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator
Regards,
Rainer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.