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

DataTable: header fixed when scrolling horizontally since 13.0.6 #11544

Closed
DadApple9 opened this issue Mar 1, 2024 · 5 comments
Closed

DataTable: header fixed when scrolling horizontally since 13.0.6 #11544

DadApple9 opened this issue Mar 1, 2024 · 5 comments
Assignees
Labels
🚫 duplicate Duplicate of a similar issue
Milestone

Comments

@DadApple9
Copy link

Describe the bug

After upgrading PrimeFaces from 13.0.5 to 13.0.6, if you scroll horizontally in a dataTable the header stays fixed. In older PrimeFaces versions it worked.

Reproducer

<p:dataTable id="tblAddresses"
widgetVar="wvtblAddresses"
var="record"
rowIndexVar="index"
sortMode="single"
value="#{listAddresses.listAddresses}"
rows="#{listAddresses.tableControllerAddresses.currentRowCount}"
paginator="true"
paginatorTemplate="#{listAddresses.paginatorTemplate}"
paginatorPosition="bottom"
pageLinks="5"
scrollable="true"
scrollWidth="100%"
first="#{listAddresses.first}"
styleClass="white-footer dstable without-checkbox">

Expected behavior

If scrolling horizontally in a dataTable the header should scroll too.

PrimeFaces edition

Community

PrimeFaces version

13.0.6

Theme

No response

JSF implementation

MyFaces

JSF version

4.0.2

Java version

17

Browser(s)

No response

@DadApple9 DadApple9 added ‼️ needs-triage Issue needs triaging 🐞 defect Bug...Something isn't working labels Mar 1, 2024
@jepsar jepsar changed the title Fixed header in dataTable when scrolling horizontally since PrimeFaces 13.0.6 DataTable: header fixed when scrolling horizontally since 13.0.6 Mar 1, 2024
@wlhUser
Copy link

wlhUser commented Mar 1, 2024

See #11491

@melloware melloware added 🚫 duplicate Duplicate of a similar issue and removed 🐞 defect Bug...Something isn't working ‼️ needs-triage Issue needs triaging labels Mar 1, 2024
@melloware melloware added this to the 13.0.7 milestone Mar 1, 2024
@melloware melloware self-assigned this Mar 1, 2024
@melloware
Copy link
Member

I will try and release 13.0.7 today with this fix and some others.

@DadApple9
Copy link
Author

Top! Thank you

@melloware
Copy link
Member

13.0.7 is in Maven Central now if you want to update and try it.

@DadApple9
Copy link
Author

Thank you. It works. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚫 duplicate Duplicate of a similar issue
Projects
None yet
Development

No branches or pull requests

3 participants