Grid with scroll of browser


We are using grid with lazy loading. This adds a scrollbar to the grid component.
We want to achieve that there is only a scrollbar of the browser and that this triggers the lazy loading.

Is this possible?

Vaadin 14 grid is used.

Kind regards


Grid internally has quite a complex scrolling mechanism. This feature is not implemented, but I guess it could be achieved with some dirty workarounds, i.e.

grid.$ = 'hidden';
grid.$ = 'hidden';

(not sure if it will work on all platforms; should be done via executeJs if needed from Flow)

Best regards

There’s a feature request for this, which you can +1 in GitHub: [Delegate scrolling to ancestor element]