I show a DataGroup with VerticalLayout that contains 100.000+ rows.
This goes okay: I've set useVirtualLayout to true (so the rows get rendered only when viewed in the viewport) and defined a custom itemRenderer.
The data is a collection of data objects in an ArrayList.
So far, so good.
The itemrenderer renders, depeding on the data collection that it receives, a `row` (instance of SkinnableContainer).
Here ocures the problem: the rows can be of different heights.
Since the itemRenderer gets recycled, it takes up the space of the highest row it has generated before.
The result is gaps between my rows.
Does anyone of you have a solution for this, or a though about it?
Note: it seems that I cannot use itemRendererFunction since this slows everything down very much, because I use virtualization.
Thanks in advance.
Did you set the "gap" property on your VerticalLayout to 0? It defaults to 6.
If that doesn't work, please post a small test case with your custom renderer.