tonytomov / jqGrid

jQuery grid plugin
www.trirand.com
2.84k stars 1.2k forks source link

Paging with scrollbar does not work with lines of different heights #1006

Open eCitiz opened 2 years ago

eCitiz commented 2 years ago

Example here : https://jsfiddle.net/nducoin/wvL7dxre/3/

In this example the first 100 lines have 1 character height et the next 100 lines have 5 character height.

Using the scrollbar, the second half of the table don't show any line. By scrolling "slowly" we can see part of the second half but some data is missing.

tonytomov commented 2 years ago

Hello,

This is a know problem. This is the one of the limitations of the virtual scroll.

When we do the calculations our assumptions was that all the rows have the same height.

Sorry, unfortunately this bug can't be fixed in the current implementation. This part of the grid (virtual scrolling) should be entirely rewritten.

eCitiz commented 2 years ago

OK I understand, thanks anyway for your answer.