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 headerStyle is applied to body and footer colgroups. headerClass is not. #888

Closed
WhyKickAmooCow opened this issue Jan 27, 2021 · 1 comment
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@WhyKickAmooCow
Copy link

I have run into this trying to use headerClass for horizontal scrolling.

When using headerStyle, the style is applied to the header and colgroups in the body and footer (this means the whole column is the same width for example). This isn't the case when using headerClass. The expected behavior was to apply the class to the header and colgroups like headerStyle, but instead it is only applied to the table header. This results in the header being larger than the body and stops the horizontal scrolling from working as expected (since I am using a headerClass to set width).

@WhyKickAmooCow
Copy link
Author

This is likely a duplicate of the issue faced in #861, but not what is described in #861.

@cagataycivici cagataycivici added this to the 3.2.0 milestone Feb 2, 2021
@cagataycivici cagataycivici self-assigned this Feb 2, 2021
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants