PDA

View Full Version : Grid Flicker



allaboutyui
16 Nov 2006, 4:42 PM
I won't pretend I know exactly what is going on, but when you edit a field with a selectEditor on your grid, it flickers as the current element is selected (if it wasn't already selected by the previous edit.)

In your demo this refers to the Light column of the plants grid.

The fix I suggest is to set the selected index before the item is rendered, but I haven't looked at the code for this - perhaps it isn't that simple.

Am I just being fussy ?

jack.slocum
16 Nov 2006, 8:44 PM
It is selected before it is shown - unfortunately some browsers wont actually repaint it while it's hidden (e.g. firefox).

allaboutyui
17 Nov 2006, 5:49 AM
Ah yes. IE7 doesn't have this problem. Maybe I'll create a hack for firefox :P