Skip to content

datatable headerStyle is applied to body and footer colgroups. headerClass is not. #888

Closed
@WhyKickAmooCow

Description

@WhyKickAmooCow

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).

Activity

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

Metadata

Metadata

Assignees

Labels

Type: BugIssue contains a bug related to a specific component. Something about the component is not working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions