empty listGrid when scrolling vertical on many records

Hello,

I have a listgrid with a vertical scrollbar.
It works fine when the listgrid dont do a repaint because of scrolling.
But when I have a large number of records and i want to scroll, the listgrid repaints. The problem is that i see only 1 record when the scrollbar is on the bottom. The rest i empty.

Is there any way to scroll to bottom and see all last records?

Thanks aemik

Do you see this behavior in any of the showcase samples? Without a standalone testcase its going to be hard tell whats going on. Try to reproduce the issue using one of the Showcase samples.

Sanjiv

no, cant find a sample in the showcase.
But the problem only appears when setShowAllRecords(…) is false.
Is there any sample for this in the showcase?

Thanks, aemik

Okay, then modify a showcase example so that you can create a reproducible test case. Without a testcase you’re not going to get much help with the limited information you’ve just provided.

You might have fixedRecordHeights:false. If so, the blank space at the bottom is necessary to deal with variable height records and incremental rendering / data paging. For small datasets, setting showAllRecords:true avoids the blank space.