Implement repeated/fixed/floating table headers
Open, LowPublic

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

Details

Blocks
T33601: jquery-tablesorter (tracking)
Security
None
Reference
bz40763
bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz40763.
TheDJ created this task.Oct 4 2012, 10:37 AM
brion added a comment.Oct 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.Mar 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.Jul 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.Jul 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.

  • Bug 53358 has been marked as a duplicate of this bug. ***
He7d3r edited the task description. (Show Details)Feb 22 2015, 10:13 PM
He7d3r set Security to None.
Fito added a subscriber: Fito.Sep 7 2015, 7:16 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 7 2015, 7:16 AM

Add Comment