Last modified: 2014-03-05 13:50:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T42763, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40763 - Implement repeated/fixed/floating table headers
Implement repeated/fixed/floating table headers
Status: NEW
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
1.21.x
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 53358 (view as bug list)
Depends on:
Blocks: 31601
  Show dependency treegraph
 
Reported: 2012-10-04 10:37 UTC by Derk-Jan Hartman
Modified: 2014-03-05 13:50 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Derk-Jan Hartman 2012-10-04 10:37:24 UTC
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.
Comment 1 Brion Vibber 2012-10-04 18:09:01 UTC
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.
Comment 2 Quim Gil 2013-03-07 16:36:39 UTC
Moving to the Parser component. I hope this is the right place.

PS: part of https://www.mediawiki.org/wiki/Bug_management/Triage/20130307
Comment 3 Derk-Jan Hartman 2013-07-06 15:09:47 UTC
Moving to the right component. You need javascript to dynamically switch the styling of a table header like this.
Comment 4 Derk-Jan Hartman 2013-07-06 23:21:30 UTC
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.
Comment 5 Derk-Jan Hartman 2013-08-27 11:20:19 UTC
*** Bug 53358 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links