PDA

View Full Version : 1.1 Grid Panel Resize/Layout scrollbar messed up



MarkT
24 Aug 2007, 4:16 PM
I have a grid panel with alternating lines. If the region is resized smaller, the scrollbar gets partially covered by the alternate grid lines. Eventually everything is redrawn correctly. I was wondering if there was a simple way to prevent this from happening?

I've attached two images of a sample grid before the resize and during.

thanks

MarkT
28 Aug 2007, 3:51 AM
I ended up fixing this problem myself by rewriting the grid's layout function so it completes in one pass instead of the two. Took a little trial and error to find a solution that worked in both Firefox and IE7. I've yet to test it with Safari.