Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get sticky headers to work AT ALL.... #1581

Closed
Jaxel opened this issue Aug 30, 2018 · 4 comments
Closed

Can't get sticky headers to work AT ALL.... #1581

Jaxel opened this issue Aug 30, 2018 · 4 comments

Comments

@Jaxel
Copy link

Jaxel commented Aug 30, 2018

This is my code:

this.$target.tablesorter({
	widgets: ['zebra', 'cssStickyHeaders'],
	widgetOptions: {
		cssStickyHeaders_offset: 50,
		cssStickyHeaders_addCaption: true,
		cssStickyHeaders_attachTo: null,
		cssStickyHeaders_filteredToTop: true,
		cssStickyHeaders_zIndex: 10
	}
});

You can see it running here:
https://8wayrun.com/wiki/mitsurugi-frame-data-sc5/

As you can see, the sorting, and the zebra are working fine. However, the sticky headers don't activate. Don't know why.

@Mottie
Copy link
Owner

Mottie commented Aug 30, 2018

Hi @Jaxel!

It doesn't look like the widget-cssStickyHeaders.js file is being loaded on that page.

I can tell it isn't loaded by looking in $.tablesorter.widgets array in the dev tools console. It only contains the built-in zebra widget.

@Jaxel
Copy link
Author

Jaxel commented Aug 30, 2018

Ah... yep.

@jjxtra
Copy link

jjxtra commented Jul 11, 2019

cssStickyHeaders_zIndex also appears to be ignored and unused

@Mottie
Copy link
Owner

Mottie commented Jul 11, 2019

The cssStickyHeaders_zIndex: 10 line was included in the documentation by accident. I have removed it and added an options table to that page.

@Mottie Mottie closed this as completed Dec 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants