-
Notifications
You must be signed in to change notification settings - Fork 743
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: support headerRow in combination with frozenColumns #9572
Comments
I am pretty sure this is not allowed. Frozen columns was not designed for this use case it was meant for a very specific case. PrimeTek's answer this in the past has been "not all features of the datatable are designed to work together" and I think this is the case here. @tandraschko @Rapster can chime in here but I don't this would be addressed by the community and only through PRO support request to PrimeTek. |
@melloware Can you reopen this issue? I looked briefly into the html code how PF constructs its fixed columns. It seems it duplicates the rows (which needs to be frozen=sticky) and appends thows rows to the origin table. Maybe we can find a solutions solely with css If we can replace the PF implementation of |
There is too much dynamic JS code involved and position sticky requires a static |
But the static top can be calculated within css, or? Maybe adding inline style to the dedicated component by js with something like:
|
You can try it! |
@nimo23 its been months since our last conversation on this ticket and I see you made no progress. For now I will mark as not supported but will be happy to re-open if you provide a PR. |
Describe the bug
This reproducer demonstrates the following issues when
dataTable
hasfrozenColumns
in combination withheaderRow
:Reproducer
primefaces-test-jakarta.zip
Expected behavior
PrimeFaces edition
Community
PrimeFaces version
13
Theme
No response
JSF implementation
Mojarra
JSF version
4
Java version
17
Browser(s)
Firefox 115
The text was updated successfully, but these errors were encountered: