on 05-22-2006 12:40 PM
Hello,
I need modify the text color in some rows in a table view. How can i do it? I'm traying it with the interface IF_HTMLB_TABLEVIEW_ITERATOR in the method RENDER_CELL_START.
Thanks.
you can use some predefined color schemes.
check out this code
method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START.
CASE p_column_key.
WHEN 'ICON'.
p_style = 'cellDesign:GROUP_LEVEL1' .
WHEN 'FLDATE'.
p_style = 'cellDesign:GROUP_LEVEL2' .
WHEN 'CURRENCY'.
p_style = 'cellDesign:GROUP_LEVEL3' .
ENDCASE.
endmethod.
also check out this thread
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try to build a HTMLB textView for the p_replacement_bee parameter and inject CSS style into its text property, or more simply, tags like <font color="red">Your text here</font>
Have a look at these weblogs for further information :
/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator
/people/thomas.jung3/blog/2004/09/15/bsp-150-a-developer146s-journal-part-xi--table-view-iterators
Hope it helps.
Best regards,
Guillaume
Message was edited by: Guillaume Garcia
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
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.