SitePen / dgrid

A lightweight, mobile-ready, data-driven, modular grid widget designed for use with dstore
http://dgrid.io/
Other
628 stars 295 forks source link

[Chrome] - OnDemandGrid - Rendering issue on large dataset #1385

Open TiBeN opened 7 years ago

TiBeN commented 7 years ago

When scrolling near the end of an OnDemandGrid with a large dataset using Chrome 59, grid lines are incorrectly rendered.

This can be simply reproduced with dgrid/test/OnDemand_promises.html by replacing at line 68:

for (i = 1; i <= 200; i++) {

by

for (i = 1; i <= 800000; i++) {

Scrolling near the end make the grid to render incorrectly like in this screenshot:

dgrid rendering issue

This has been noticed using dgrid v1.1.0 and v1.2.0.

07shawk commented 6 years ago

I don't know if you're still having an issue but I added the following to my grid definition to fix a similar problem that occurred when sorting.

minRowsPerPage: 1000

This forced the grid to render a minimum of 1000 rows.