Skip to content

Add fixedHeader to DataTableOptions types, fix columnControl types#496

Closed
kultura-luke wants to merge 3 commits intomwouts:mainfrom
kultura-luke:feature/add-fixedHeader-config
Closed

Add fixedHeader to DataTableOptions types, fix columnControl types#496
kultura-luke wants to merge 3 commits intomwouts:mainfrom
kultura-luke:feature/add-fixedHeader-config

Conversation

@kultura-luke
Copy link

@kultura-luke kultura-luke commented Feb 18, 2026

@kultura-luke kultura-luke changed the title Add fixedHeader to DataTableOptions types Add fixedHeader to DataTableOptions types, fix columnControl types Feb 18, 2026
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.11%. Comparing base (cb0f867) to head (961b842).

❌ Your project status has failed because the head coverage (90.78%) is below the target coverage (93.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #496   +/-   ##
=======================================
  Coverage   94.11%   94.11%           
=======================================
  Files          46       46           
  Lines        2530     2533    +3     
=======================================
+ Hits         2381     2384    +3     
  Misses        149      149           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mwouts
Copy link
Owner

mwouts commented Feb 20, 2026

https://datatables.net/extensions/fixedheader/

Hi @kultura-luke , thank you for opening this PR. Of course we can consider adding the fixed header extension, but a bit more work will be required. For instance we will have to add it to the dt_for_itables package - it's currently not included, cf. https://github.com/mwouts/itables/blob/main/packages/dt_for_itables/package.json#L35

I can take care of doing that, or alternatively, if you want to try it on your end, this is the documentation: https://mwouts.github.io/itables/custom_extensions.html#creating-a-custom-datatables-bundle

@kultura-luke
Copy link
Author

That's strange because I swear it was working already, or perhaps I just got mixed up with the scrollY behaviour?

I'm not entirely sure how to verify that it's working so if you could take that on that would be great 🙏

@mwouts
Copy link
Owner

mwouts commented Feb 21, 2026

Yes will do! Cheers

@mwouts mwouts self-assigned this Feb 22, 2026
@mwouts mwouts added this to the 2.7.1 milestone Feb 22, 2026
@mwouts mwouts closed this in #500 Feb 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants