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

Return total scroll width & height via getBounds #784

Closed
lukasmasuch opened this issue Oct 2, 2023 · 2 comments
Closed

Return total scroll width & height via getBounds #784

lukasmasuch opened this issue Oct 2, 2023 · 2 comments
Labels
type:enhancement Requests for enhancements or new features

Comments

@lukasmasuch
Copy link
Collaborator

Is there any way to figure out the current height and width of the scroll area? I need to determine if the table currently requires scrolling.

My suggestion would be to adapt the getBounds on the dataGridRef to return the full height & width of the scroll area (dvn-stack) if no col and row is specified.

@jassmith jassmith added the type:enhancement Requests for enhancements or new features label Oct 2, 2023
@lukasmasuch
Copy link
Collaborator Author

I did a draft implementation here on how this could look like.

@lukasmasuch
Copy link
Collaborator Author

Solved by #788

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement Requests for enhancements or new features
Projects
None yet
Development

No branches or pull requests

2 participants