PDA

View Full Version : 6.2 Grid Scrolling Performance



toddtreb
11 May 2017, 5:48 PM
ExtJS Version: 6.2.1.167 - Classic
Tested on Win7: Firefox 53, Chrome 58, IE 11
Fiddle: https://fiddle.sencha.com/#view/editor&fiddle/1v52

I have an issue with grids with large amounts of data and a widgetcolumn. The problem occurs if the widget is being hidden/shown based on a value in the record.

Issues:

Scrolling with the mousewheel is very laggy
Dragging the scrollbar causes the data in the grid to disappear and the scrollbar jumps up and down as you drag
After enough scrolling the widgets will not be visible at all


The same fiddle has no issues when run under ExtJS 6.0.1.250

evant
11 May 2017, 6:35 PM
It seems as though the call to hide/show is triggering a layout. In the interim you could just poke the element directly:



widget.el.setDisplayed(show);

toddtreb
11 May 2017, 8:31 PM
Excellent, that works well. Thanks!