rowBGColorCalculation

Hello

I have a problem with rowBGColorCalculation with report form.
I load some records into a form.
If I show the form on client with controller.show() I can see the rowBGColorCalculation for all records, If I try with controller.showPrintPreview() I cannot see the colors. Every row is white.

The global method for rowBGColorCalculation is:

// Alternate colors
var index = arguments[0];

if ( index % 2 == 0 )
return ‘#e6e6e6’;
else
return ‘#ffffff’;

Thank you for help
Bye
Roberto

No one have the same issue?

Thank you

Roberto

Hi Roberto!

Do you have searched the forum for your issue? Here are many topics about the rowBGColorCalc property!
BTW, it should be very helpful to find results in the Servoy forum when the topics subject is more detailed.

Regards
Thomas

Hi Roberto,

If I remember correctly rowBgColor never worked when printing. You could file a feature request for it.

Ok I’ll send a feature request to servoy support.
Thank you
Roberto