on 07-28-2004 11:36 PM
Hi,
I have a web report that has exceptions in it. When I use the CHARACTERISTIC_CELL method to bold a row of cells it works fine for the cells without an exception. Cells with exceptions seem unaffected. When looking at the HTML I do see my applied bold style, but I'm guessing it's getting overridden by the exception class class="SAPBEXexcBad9"? This makes the cell red without bold So I'm trying to keep it red, but make it bold.
Anyone know why I can't override the bold in an exception cell?
Thanks
I can't seem to get this to work. Can you provide an example? here's what I've done. I just want to add the bold style to the cells in a specific row. but, I still want to keep the execption cell color...
Thanks!
DATA: MYSTYLE1 TYPE STRING.
CONCATENATE 'Style=' '"FONT-WEIGHT: bold;"' INTO MYSTYLE1.
CASE N_DATA_PROVIDER_NAME.
WHEN 'DATAPROVIDER_1'.
IF N_ITEM_NAME = 'TABLE_1'.
IF I_Y = 1.
C_CELL_TD_EXTEND = MYSTYLE1.
C_CELL_STYLE = MYSTYLE1.
ENDIF.
ENDIF.
ENDCASE.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I would try it this way
DATA: MYSTYLE1 TYPE STRING,
replace_string type string.
CONCATENATE 'Style=' '"FONT-WEIGHT: bold;"' INTO MYSTYLE1.
CASE N_DATA_PROVIDER_NAME.
WHEN 'DATAPROVIDER_1'.
IF N_ITEM_NAME = 'TABLE_1'.
IF I_Y = 1.
C_CELL_TD_EXTEND = MYSTYLE1.
concatenate mystyle1 ' class="' into replace_string.
REPLACE ALL OCCURRENCES OF 'class="' IN c_cell_content with replace_string IGNORING CASE
ENDIF.
ENDIF.
ENDCASE.
(I didn't check the syntax of the program snippet. But the idea is to add to every inside class attribute the style attribute).
Heike
You made my day! I will try this right away!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My previous post was wrong. I am using method DATA_CELL and the parameter C_CELL_TD_EXTEND to add the bold style
Style=' '"FONT-WEIGHT: bold;
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 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.