Implement repeated/fixed/floating table headers
OpenPublic

Description

With longer tables it can be very difficult to identify the columns. It might be nice if table headers stayed in view when scrolling trough a long table.

This could be done with JS, but would need to be compatible with tablesorter of course.

Thinking about 'fixed' position headers once the header moves out of the screen viewport. Can possibly do similar stuff with footers.


Version: 1.21.x
Severity: enhancement
See Also: T12013: Implement client-side filtering of tables using javascript

bzimport added a project: MediaWiki-JavaScript.Via ConduitNov 22 2014, 1:00 AM
bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz40763.
TheDJ created this task.Via LegacyOct 4 2012, 10:37 AM
brion added a comment.Via ConduitOct 4 2012, 6:09 PM

Adding 'floating' and 'fixed' to summary to clarify how we'd probably want to implement such things by dynamically switching them to position:fixed rather than actually repeating.

Qgil added a comment.Via ConduitMar 7 2013, 4:36 PM

Moving to the Parser component. I hope this is the right place.

PS: part of https://www.mediawiki.org/wiki/Bug_management/Triage/20130307

TheDJ added a comment.Via ConduitJul 6 2013, 3:09 PM

Moving to the right component. You need javascript to dynamically switch the styling of a table header like this.

TheDJ added a comment.Via ConduitJul 6 2013, 11:21 PM

http://datatables.net/extras/fixedheader/

and

http://css-tricks.com/persistent-headers/

are some of the nicest implementations i have seen so far. both require cloning the headers, which is currently not possible with sortable tables.

I think that if we would want to do this, we should split of the thead and tableheader normalization of tablesorter into it's own module and reuse that for fixed headers.

TheDJ added a comment.Via ConduitAug 27 2013, 11:20 AM
  • Bug 53358 has been marked as a duplicate of this bug. ***
He7d3r edited the task description. (Show Details)Via WebFeb 22 2015, 10:13 PM
He7d3r set Security to None.

Add Comment