Skip to Content

Setting colour of particular row in matrix

Hi,

I am using SAP 2007B. And I want to set color of particular row as per my conditions.

I am able to color for whole column using

_Matrix.Columns.Item(col).ForeColor = System.Drawing.Color.Green.ToArgb();

but for a particular row if anybody having any suggestions then please let me know.

regards:

Sandy

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 11, 2011 at 02:57 PM

    In 2007 version, this is just not possible and there is no workaround for it 😔

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 12, 2011 at 05:12 AM

    Hai,

    Just try this,

    '//Suppose, You want to set colour for row 2

    rowindex=2

    for columnindex=1 to omatrix.Columns.Count

    oEdit = omatrix.Columns.Item(columnindex).Cells.Item(rowindex).Specific

    oedit.ForeColor=System.Drawing.Color..Green.ToArgb();

    next columnindex

    Hope this helps you.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.