Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[grid] Implement TreeGrid eager fetch mode #2648

Closed
yuriy-fix opened this issue Feb 11, 2022 · 2 comments · Fixed by #2690
Closed

[grid] Implement TreeGrid eager fetch mode #2648

yuriy-fix opened this issue Feb 11, 2022 · 2 comments · Fixed by #2690

Comments

@yuriy-fix
Copy link
Contributor

Change the logic of sending requested ranges to the client, so that flow counterpart checks if children are expanded before sending the parent items to the client.
If some of the items are expanded flow counterpart prepares and sends its children within the same roundtrip.
It should be applied for both the initial rendering and on scrolling.
Ranges should be sent considering the viewport capacity, so extra ranges are not sent if the viewport is already fulfilled.

@mvysny
Copy link
Member

mvysny commented Apr 29, 2022

Will this be backported to Vaadin 14 please?

@tomivirkki
Copy link
Member

Made an experimental PR for the V14 backport. Don't hold your breath though since the feature in V23.1 is still at alpha.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants