on 10-16-2006 2:50 PM
Hello Everybody,
I have the following Problem:
I would like to write into a cell a several lines.
How can I do it?
I think I have to implement the Method : if_htmlb_tableview_iterator~render_cell_start, but I don't now how.
Please help me.
Thank's in Advance.
Adid
Tanks for your Answer, but the Problem I want to render Something like <b>textEdit</b>, to write a text into a cell.
Exemple:
In the Blog /people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator
Look at the Colomn <b>Seats.</b>
My Goal, I would like to custom a rendered <b>instead imputFields sommthing like TextEdit</b> (to write into the <u>a several lines</u>).
Tanks in Advance.
adid.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hallo Raja.
it works but i have allwas the same Problem. i cann just write in one line like this <b>----
abcd
-
</b>
but I need to write a text in several lines like This: <b> -
abcd
efg..
.....
-
</b>
cann you help me!!
METHOD if_htmlb_tableview_iterator~render_cell_start .
CASE p_column_key.
when 'Test'.
data: wftext Type String.
p_replacement_bee = CL_HTMLB_TEXTEDIT=>factory(
id = p_cell_id
text = wftext
width = '100%'
height = '100%' ).
encase.
endmethod.
Try browsing this page in new <a href="https://wiki.sdn.sap.com/wiki/display/HOME/HTMLB">wiki</a>.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if you want to add text in a cell use the below sample code in that cell:
<htmlb:textView
text = "your text"
design = "<%=l_design%>"
textColor = "<%=l_color%>"
wrapping = "<%=cl_bsp_hap_document_cs=>c_true%>"
width = "20" />
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.