DataTables / DataTables/Plugins
Fixed Headers does not reset to original widths
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
I have this strange behavior in that when I try to use fixed headers the widths of the columns change from state to state.
Initial state:

Fixed State:

Reset state:

Note that the widths are different after the header has been "unfixed".
Any idea why this would be?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the reported sequence from the issue: record the initial column widths, enable Fixed Headers, then disable it and compare the reset state. Start by locating the Fixed Headers plug-in entry point; done means disabling fixed headers restores the original column widths consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100