setCurrentPageFirstItemId fails when not setPageLength is used

I have a Table that I set its height with setHeight and not with setPageLength. I do this because not all rows have the same height. The result of this is that the function setCurrentPageFirstItemId fails to focus on the item that I want. When I use setPageLength it works as it should. Is there a workaround?

Rows with different height lead to all kinds of scrolling-issues as the table is - due to lazy-loading, the main-advantage of using a table-component - not able to calculate the amount of pixels that are necessary to display all items. Depending on your use-case I would switch to Vertical- or GridLayout inside a Panel instead.