cancel
Showing results for 
Search instead for 
Did you mean: 

change different background color in row grid

Former Member
0 Kudos

Hi,

i want to change different background color in row grid..ex.two different colors should continue in all row grid..pls guide me ..

Regards,

Senthil.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Senthil,

I think this helps for your Query

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40a5c18a-f270-2910-689d-8e88f421...

Reward points if useful ....

Regards,

Vijaya vardhan Reddy

Former Member
0 Kudos

thanks for ur last reply.i want detailed process of the following :

We are calling data from bapi using SAP JCO Interface. Those things are displayed in grid. That grid should be displayed in alternative colors. That is odd rows are in one specified color and even rows are in another specified color. Send me the detailed process from beginning with BLS screen developement.

Former Member
0 Kudos

Hi Senthil,

in my oppion you have all the information to solve this problem now on your own.

Ciao

Martin

jcgood25
Active Contributor
0 Kudos

Have you tried color contexting with the Scoreboard mode?

Former Member
0 Kudos

i tried scoreboard..its display one color in all rows.how to apply different colors in each row?

Edited by: senthil kumar on Feb 29, 2008 1:52 PM

jcgood25
Active Contributor
0 Kudos

That's what the color-contexting page is for, the standard and documented capabilities of the iGrid use Row based coloring rules.

Former Member
0 Kudos

i mean each row should be different color..

example:

if the first row is "red",second row should be a "green" like that..

Former Member
0 Kudos

Hi Senthil,

If I understand you correctly, you wish to show a grid with alternating colours down the rows.

You have a few options:

1) Apply a stylesheet nd display it as HTML. But this solution lacks the advantages of the iGrid

2) Return a field with alternating 1's and 0's in the query and use this field in the Colour-Context mapping

3) Use JavaScript to loop through each row and set alternating background cell colour for all columns

Hope this helps.

Cheers,

Jai.