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

Scroll issue in the tree data view #7861

Open
cyanaryan opened this issue Apr 17, 2024 · 3 comments
Open

Scroll issue in the tree data view #7861

cyanaryan opened this issue Apr 17, 2024 · 3 comments

Comments

@cyanaryan
Copy link

I'm submitting a ... (check one with "x")

[x] bug report => see 'Providing a Reproducible Scenario'
[] feature request => do not use Github for feature requests, see 'Customers of AG Grid'
[] support request => see 'Requesting Community Support'

Current behaviour.
Whenever I try to expand few rows in the tree data view, after some time there is very little space to scroll. Sometimes I am not able to expand the item for the below data. This is happening due to rows being pinned in the tree data view. I saw that every examples in ag-grid is having row pinned (parents row is pinned and child row is getting scrolled) when we scroll. Below is the scenario I am facing
Bug-Animation

Expected behaviour:
I want something like this
Expected behaviour
Below is the link for that
https://stackblitz.com/edit/ag-grid-angular-hello-world-1gs4jx?file=src%2Fapp%2Fapp.component.ts
This above url is using the version "ag-grid-angular": "27.2.0",

Please tell us about your environment:

  • AG Grid version: 31.1.1
  • Browser: Google Chrome:121.0.6167.140 (Official Build) (64-bit)
@netnr
Copy link

netnr commented Apr 18, 2024

vscode will only retain one or two levels when the visual height is small, and more levels will be retained when the visual height is large.

GIF 2024-4-18 10-44-17

@cyanaryan
Copy link
Author

Is there any solution, how we can fix that in the ag-grid?

@cyanaryan
Copy link
Author

Is there any way we can solve this issue?
@netnr @AG-Zoheil

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

No branches or pull requests

3 participants