PDA

View Full Version : [FIXED] 4.2.0 Beta Stateful Array Grid Example Row (style rows on mouseover)



Diavololt
11 Dec 2012, 2:03 PM
/* style rows on mouseover */
.x-grid-row-over .x-grid-cell-inner {
font-weight: bold;
}

Active row change is very slow

Browser: Chrome
Version: 23.0.1271.95 m

Animal
20 Jan 2013, 11:59 AM
It's not slow.

The adding of the class is delayed until mouse movement ceases.

This is a performance improvement. Adding classes cause layouts.

It's not worth adding the class if the mouse is moving over the grid.

The eye candy appears as soon as you stop scrolling or moving the mouse.