Most of the tables in Drupal now support "sticky headers" - so you can see what columns you're looking at. It would be prudent to add support for this as this screen can potentially be massive!

Comments

wulff’s picture

Version: 6.x-1.2 » 6.x-1.x-dev
Assigned: Unassigned » wulff

That seems like a reasonable request :-)

I'll include sticky headers in the next version of the module.

wulff’s picture

Status: Active » Postponed (maintainer needs more info)

AFAICT this works as intended: http://emberapp.com/wulff/images/content-types-drupal-6

Are you seeing the behavior in a specific theme?

niklp’s picture

Yes - Garland! I'm using admin_menu module, not sure if that would affect it? That's the only thing that springs to mind...

wulff’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

I just tested with admin_menu, and I can reproduce the error if I enable the "Keep menu at top of page" option.

However, this causes the sticky headers to disappear behind the admin menu on the permissions page as well (and probably other pages with long tables).

It seems like this is just admin_menu not playing nice with sticky headers.

niklp’s picture

I don't have that option selected... :(

wulff’s picture

Status: Closed (fixed) » Active

Hm... the plot thickens.

Which modules are enabled on the site? I'll try to match your setup and see if I can reproduce the error that way.

wulff’s picture

Status: Active » Postponed (maintainer needs more info)
klonos’s picture

Title: Enable Jquery sticky table headers » admin_menu support
Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Postponed (maintainer needs more info) » Active

I am seeing this in d7 with the admin_menu module enabled and set to stay on top of page. Originally I thought that since that module has more than 170k users and this one only ~180 it would be a bit funny to ask the admin_menu maintainers to change their code on our account. Then I though that this is not an issue specific to this module here but rather a generic issue with admin menu and pages that have tables with 'sticky' headers. So, I did a little research and I would like to bring people's attention to this drupal core issue: #787940: Generic approach for position:fixed elements like Toolbar, tableHeader (latest patch during the time of writing this is in post #88). Here's an excerpt from James' summary in post #76:

The patch adds a generic (read reusable) solution to placing fixed positioned elements on the page without having them overlap each other or the content on the page. ...

Then, there are these two issues specific to admin_menu:

#428844: Use JS to adjust layout (a fix for all margin/absolute/background problems): has solutions/hacks for both d5 and d6
#801526: Use misc/displace.js to position admin_menu: is a followup to the previous that actually has a patch for d7 (that also needs the core patch mentioned above in order to word), but currently has some issues. For more details, please read my review in post #1 of that issue.

klonos’s picture

Title: admin_menu support » admin_menu support & generic fix for 'sticky' headers

...updating the title a bit.