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

Filter and pager #6

Closed
ganezuu opened this issue Oct 29, 2011 · 7 comments
Closed

Filter and pager #6

ganezuu opened this issue Oct 29, 2011 · 7 comments

Comments

@ganezuu
Copy link

ganezuu commented Oct 29, 2011

Hi!
Filter widget and pager plugin don't work together.
Any ideas?

@Mottie
Copy link
Owner

Mottie commented Oct 29, 2011

Hi Ganezuu!

Well, they do sort of work together... demo - just set the pager option removeRows to false.

I need to figure out how to limit the number of results shown by the filter, and be able to page through them, when the filter is showing results.

Give me some time, or lend me some brain power, to figure out a better method.

@bsparacino
Copy link

any update on this?

@Mottie
Copy link
Owner

Mottie commented Dec 21, 2011

I haven't had a chance to mess around with this, but I did find a nice plugin that might work better: https://github.com/jbritten/jquery-tablesorter-filter

@bsparacino
Copy link

I just tried that out, filter+pager works, but column sorting does not work if there is a pager. without a pager you can sort a column by clicking on it.

EDIT: I removed removeRows: false from my tablesorterPager options and it seems to be working well now

@Mottie
Copy link
Owner

Mottie commented Dec 21, 2011

Cool!... when I find time, I'll look into integrating that plugin.

@Igosuki
Copy link

Igosuki commented Jun 21, 2012

Right, so I had a look at things and the big problem is that pager does not integrate at all, it just does a bit of css manipulation at the end of sorting.
I think the right move would be to turn it into a widget. Now to find the time :)...

@Mottie
Copy link
Owner

Mottie commented Sep 27, 2012

Hopefully this has been fixed in v2.4. Check out this demo.

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

4 participants