A jQuery plugin that floats table headers on scroll without requiring any CSS or HTML changes.
jquery.floatThead is a jQuery plugin that creates sticky table headers that remain visible while scrolling through long tables. It solves the problem of losing column context in data-heavy tables by floating the header row, improving readability and user experience. Unlike CSS-based solutions, it works in older browsers and complex scrolling scenarios.
Frontend developers and web designers working with data tables in jQuery-based projects, especially those needing cross-browser compatibility or integration with table libraries like DataTables.
Developers choose floatThead because it requires zero CSS or HTML modifications, handles dynamic and responsive tables gracefully, and provides reliable sticky headers in environments where `position:sticky` is unsupported or insufficient.
Fixed <thead>. Doesn't need any custom css/html. Does what position:sticky can't
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Works with existing table HTML and CSS without modifications, as emphasized in the README's key feature 'No CSS/HTML Changes'.
Supports tables with columns that are hidden, added, or removed dynamically, ensuring headers adapt seamlessly without breaking layouts.
Does not clone the <thead>, so original event bindings remain intact, preventing common issues with duplicated elements and JavaScript errors.
Integrates smoothly with DataTables, Bootstrap 3, and other tools, proven in production at companies like Google and Samsung, as listed in the README.
Explicitly not supported for Safari and mobile Safari, with known layout problems that may not be fixed, limiting cross-browser reliability in modern web apps.
Lacks proper RTL support and does not offer features like footer floating or column locking, which are often requested in similar table plugins.
Requires jQuery 1.8.x or better, adding overhead and making it unsuitable for projects migrating away from jQuery or using modern frameworks like React or Vue natively.