distal-attribute
distal-attribute
distal-attribute
distal-attribute

Grid alternate row colours

User, date Message
Written by kalvaro
1 year ago
Category: General
587 posts since Thu, 29 Nov 07
I've just upgraded to latest snapshot in order to see the new zebra colours in data grids but it doesn't seem to be working well. Alternate colours only show up in the columns I explicitly sort by:



:-?
Written by ansgar
1 year ago
4940 posts since Fri, 07 Apr 06
No idea yet. Works perfectly here. Is it WinXP on your side?
Written by kalvaro
1 year ago
587 posts since Thu, 29 Nov 07
Windows 7 (64 bits).

Some more info I've gathered. There're two colours to configure. I first selected a colour in the second combo and left "None" in the first one. The issue persisted even if I restarted HeidiSQL.

But as soon as I picked two colours the issue fixed—even if I revert the first combo back to "None". Perhaps it's just a migration issue.
Written by ansgar
1 year ago
4940 posts since Fri, 07 Apr 06
Yes, could be! Thanks for being so exact, makes sense now when I look into the code. Will fix.
Written by ansgar
1 year ago
4940 posts since Fri, 07 Apr 06
Code is ok, just checked.

Sorted columns have a gray background color in HeidiSQL (the darker one on your screenies). When you set both even and odd color in HeidiSQL, you don't see that sorting gray any longer. But if you only set one of both, let's say odd row background, then even rows still get that sorting gray.

My guess is also, you accidentally selected an odd color which is same or very similar to your default background color in your Windows settings (clWindow).

Everything's normal so far. But I think this can lead to real confusion here, we have too many background settings. So, I'll go and remove the sorting gray. Sorted columns still have the arrow indicator in their column header. I think I had introduced the sorting gray once I saw that in my Windows Explorer, which I do not see any longer in Win7's Explorer.
Written by ansgar
1 year ago
4940 posts since Fri, 07 Apr 06
Sorting gray removed as of r4429.
 

Please login to leave a reply, or register at first.