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

Search not working on Tables #11

Open
dougmays opened this issue Feb 7, 2013 · 1 comment
Open

Search not working on Tables #11

dougmays opened this issue Feb 7, 2013 · 1 comment

Comments

@dougmays
Copy link

dougmays commented Feb 7, 2013

i have a basic html table and i'm trying to implement search on it using this code, to just search the first column

//Search Control
$(function() {
$('.search-query').fastLiveFilter('tbody td:first-child');
});

.search-query is my input
and
tbody td:first-child is to reference the first column of TD's

@awbush
Copy link
Owner

awbush commented Feb 7, 2013

I think the feature added by pull #6 may solve this issue. I haven't tested it myself, but the theory is that you'd want to search your td:first-child values, but show/hide your tr row.

Out of the box jquery.fastLiveFilter just toggles the same thing being searched which I don't imagine would work for a td. We could merge in the new features to provide more functionality at the cost of performance, but what would be nice is getting the functionality added so that performance only suffers when using a feature where it would.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants