Skip to content

fixedHeader classes when changing absolution/fixed position #52

@ArxSargos

Description

@ArxSargos

Hi,
recently I was experiencing problem, that elements in table th and fixedHeader th had different height at very specific window width... I think because of browser rounding in table th to align elements to 2 rows, but in fixed headers elements aligned to 3 rows...

The solution was quite simple, that when fixedHeader is in absolute position is not needed to be visible... https://datatables.net/forums/discussion/15516/display-only-when-table-header-is-not-visible-top-header

But i dont want to modify the fixedHeader file and overriding whole function because of 3 rows of code is quite an overhead.

But it would be really great I think, if fixedheader will toggle some class to differentiate it is with fixed or absolute position. That will allows to hide fixedHeader, if he is absolutely positioned..

My question is, if is planned some posiibility to for example parametrize fixed header to use class, or be hidden when is absolutely positioned?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions