the issue that arises when multirow headers are used in combination with fixed header

the issue that arises when multirow headers are used in combination with fixed header

babarDevbabarDev Posts: 5Questions: 2Answers: 0

the issue that arises when multirow headers are used in combination with fixedHeader = TRUE. Specifically, when the header is fixed, the colspan in multirow headers divides the width equally, which can cause misalignment between the header and the data columns, especially when the data columns have varying widths.

Answers

  • allanallan Posts: 64,183Questions: 1Answers: 10,591 Site admin

    I've got a feeling that might have been fixed recently in DataTables core. What versions are you using? Can you link to a test case showing the issue, as required in the forum rules please?

    Allan

  • babarDevbabarDev Posts: 5Questions: 2Answers: 0

    https://live.datatables.net/lehopuza/1/edit

    The second multirow header is not adjusting its width with the data.

  • kthorngrenkthorngren Posts: 21,825Questions: 26Answers: 5,045

    I might be misunderstanding your issue. It doesn't look like the column widths are divided equally across a colspan, for example:

    Can you point out where the issue is displayed in your test case?

    Kevin

  • babarDevbabarDev Posts: 5Questions: 2Answers: 0

    when header is in fixed position

Sign In or Register to comment.