Display-Phaenomen in list view

Hello,

since Servoy Dev. 3.5.2 I have a curious phaenomen in list view in the background while changing records in a dialog form (record view). For the ‘rowBGColorCalculation’ property I defined a calculation:
var vIndex = arguments[0];
var vSelected = arguments[1];
var vResult = ((vIndex%2) == 0) ? 1 : 0;
if (vSelected)
{
return ‘#ffff66’;
}
else
{
if (vResult == 1)
{
return ‘#66ffcc’;
}
else
{
return ‘#ccffcc’;
}
}

The active row is yello the others in two diff. colors. Only by a displayed record view dialog form, the yello color stays in the entry active row, but while changing records a second yello row is diplayed on the next or previous record. Furthermore the record value of the next or previous record is displayed in the entry active record.
It’s really difficult to discribe the issue and I hope everybody understands what I mean, but pictures are saying more than words…
What’s wrong? I hope for help.
Thomas

Hi Thomas,

According to your sample code for the rowbgcolor calculation, it is working as usual at my end. No Issue…

But, according to the pics, attached, there is displaying a duplicate record of article no : 10011. I am thinking the issue isn’t regarding with the rowbgcolor calculation.

Hope it helps.

I managed to reproduce the issue with a small solution. It seems to be a repaint problem - it you move the window on top of the wrong painted cells and then away - they will look as they are supposed to…

Please add it to our Support System:

Thank you.

Got the Issue… :wink:

Adding the sample solution to the Support System.

Thank you guys for the replay.
I will take now this issue to the support system and hope for a fast fixing, because this phaenomen (bug) concerns to all my solutions.

Thomas

Added to the Support System.

Case No:- 107050