Skip to content

Sync header sizes to be able to have dynamic cell sizes with syncscroll

Notifications You must be signed in to change notification settings

Jyosua/syncscroll-table-headers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Syncscroll Table Headers

This is a javascript module that is intended to create nicely scrolling sticky table headers.

I created this because if you have actual data tables and want to use table markup, yet support proper sticky headers, it's generally a big pain to do so. This module searches for divs with "syncscroll sync-name-XXXX" format class names, duplicates the headers as a separate overlapping div, and then syncs the headers to scroll properly when the table is scrolled.

I used jQuery because I was using this in a MediaWiki installation and it simplified a lot of the code.

About

Sync header sizes to be able to have dynamic cell sizes with syncscroll

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published