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

Dynamic scroll in Grid with fixed column headers with bug #2194

Open
mkrecek234 opened this issue Mar 28, 2024 · 4 comments
Open

Dynamic scroll in Grid with fixed column headers with bug #2194

mkrecek234 opened this issue Mar 28, 2024 · 4 comments
Labels

Comments

@mkrecek234
Copy link
Contributor

Expected result:

  • You see fixed headers, and below you have scrollable rows

Today's behavior:

  • You see fixed header row
  • Second row, is again the header row which scrolls with the following content rows

Screenshot:

image

@mvorisek
Copy link
Member

closing in favor of #1988, I belive such improvent will fix this as well

@mkrecek234
Copy link
Contributor Author

Yes it would be fixed by using scrolling class on table - however we would still need our own javascript (which today is performed by JsScroll) which automatically loads further pages if you scroll at the end. That is the beauty of JsScroll which is not supported yet by FUI scrolling property as there is no callback.

@mkrecek234
Copy link
Contributor Author

mkrecek234 commented Apr 12, 2024

There is another twist of this issue which is critical: I have a Tabs in a view - on a second tab I insert a grid with addJsPaginator, and say 2 rows. If the tab that I add it to is a static tab, the first data row is hidden behind the header row, as margin-top is set to 0px (erroneously).

If I change the tab to be a dynamically loading tab, the first data row is correctly shown below the header row (in my case the margin-top then is set to 46x....

Critical as data is not properly shown. I would opt to look into it, as refactoring to FUI scrolling with the javascript is too time-consuming and no contributor for that yet.

@mkrecek234 mkrecek234 reopened this Apr 12, 2024
@mvorisek
Copy link
Member

There is another twist of this issue which is critical: I have a Tabs in a view - on a second tab I insert a grid with addJsPaginator, and say 2 rows. If the tab that I add it to is a static tab, the first data row is hidden behind the header row, as margin-top is set to 0px (erroneously).

If I change the tab to be a dynamically loading tab, the first data row is correctly shown below the header row (in my case the margin-top then is set to 46x....

Critical as data is not properly shown. I would opt to look into it, as refactoring to FUI scrolling with the javascript is too time-consuming and no contributor for that yet.

please update your post above to contain minimal code to reproduce plus add screenshot

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

No branches or pull requests

2 participants