Scroll Flickering and Performance
Vertical scrolling results in flickering. This is very noticeable on your 'ALL Features' grid located here: http://ui-grid.info/docs/#/tutorial/401_AllFeatures
In addition, the flickering is also a problem on a grid with only 190 rows. Is this a "feature" or can we expect to see smoother scrolling with the final copy. The bind performance seems great!
Just in case it's relevant here are my specs. Browser: Chrome 38.0.2 Angular: 1.3.0-rc4 UI-Grid: rc12 CPU: 8 cores 16gb ram Video Card: Radeon HD 8570 and Intel HD 4600
We should expect smoother scrolling with the final, and there is active work going on. At the moment we're re-rendering the full DOM on each scroll event. There are approaches to get around that, but they don't necessarily play nice with cellClasses.
The feature that causes the most impact on scrolling is the subgrid/expandable grid feature. But I've noticed that some of the other features aren't necessarily following the intent in staying away from watchers....I suspect that will all features enabled we're taking quite a lot of load on each digest cycle. We probably need to squeeze that out too.
So consider it a work in progress.
+1 on this - the changes @PaulL1 suggest sound promising. I've noticed our grid, which only has 100 or so rows (with 15 displayed at any time) and 12 columns, is performing a bit worse in this regard than the documented examples. It just makes it look a bit cheap, and end users are sure to complain about it!
@c0bra's changes are very promising. The vertical scroll is pretty good on that branch, the horizontal had some issues but I think we were close to finding a way around it.
We have merged the trackby changes, which I think has resolved most scrolling issues. Does this also sort your issues @keeper3000 @marcuswhit?
@PaulL1 Yes, this seems a lot better now, thanks!