Easy Row Functions : Rules with C#
hastir nicolas1307610981
Hello,I would check value into the matrix of a sale document and change the backcolor of the lines or a cell
For this, i use Easy Row function, i can test the value but not to change the backcolor.
I think we should use "C#" for change the color.
I have not found examples with C# into Easy Row Function.
Does anyone has already use C# in Easy row function? Is this possible ?
Best Regards, Nicolas
Anders Olsson
Hi Nicolas,Unfortunately setting background colours in individual cells is not supported in the SAP Matrix object. What you can do is to set the background colour of a whole column but I don't think this is what you want.
A C# example of how to do that:
matrix.Columns["ColUID"].BackgroundColor = System.Drawing.Color.Red;
Is it possible to use C# in Easy Row Functions? Yes it is!
On the Functions tab, there is a column "Rule" where you can select C#.
Kind regards,
Anders
0
Please sign in to leave a comment.
Comments
0 comments