cancel
Showing results for 
Search instead for 
Did you mean: 

Color the cell

Former Member
0 Kudos

Hello All,

I have a tableview with contents.

These contents are summated as totals and sub-totals in a new row within the tableview.

Now, I want to color the cell which is summed i.e

I have 5 records with 10 columns.

at every new 1 st column the totals are done to the column 3.

Now i want to color the summated value of the column 3,

not the whole column.

Is it possible ?

I so can anyone guide me ?

Regards,

Deepu.K

Accepted Solutions (1)

Accepted Solutions (1)

guillaume-hrc
Active Contributor
0 Kudos

Hi,

Are you using Iterator ?

If yes, you have 2 parameters you should have a look at for applying CSS styles

p_class : for Design < 2003

p_style : with restrictions to cellDesign:xxx with Design 2003

Have a look at the Weblogs about Iterators, they are very informative.

Best regards,

Guillaume

Former Member
0 Kudos

Hello Friends,

Thanks for ur reply .

It got solved now.

Points are awarded (: (: (: (: (:

Regards,

Deepu.K

Answers (2)

Answers (2)

Former Member
0 Kudos

hi

good

go through this link , i hope these ll help you to solve your problem

http://help.sap.com/saphelp_nw2004s/helpdata/en/28/4bae407e69bc4ee10000000a1550b0/content.htm

/people/brian.mckellar/blog/2003/10/30/bsp-programming-bsp-element-expressions-bees

thanks

mrutyun^

Former Member
0 Kudos

check if this helps:

<htmlb:gridLayoutCell rowIndex="1" columnIndex="2" horizontalAlignment="LEFT" width="10">

&nbsp;

</htmlb:gridLayoutCell>

Former Member
0 Kudos

Hi Deepu,

you might have to use the HTML tags to get the required color for the cell.

E.g - when appending amount total into the internal table - first move that amount into a character type and then append it with color tag of the classic HTML

something like this...

"<span style="color:blue;">100.00</span>" - instead of appending just the amount you will need to append the amount along with HTML color tag. This might work for you..

Cheers