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 a set of tables based on text in a td of each table #21

Open
KarinaLibrary opened this issue Jun 1, 2014 · 1 comment
Open

Comments

@KarinaLibrary
Copy link

My DOM is a set of tables, each representing a record. I want to filter the tables displayed based on a search for the input text in each td.title element.

<table>
  <tr></tr>
  <tr></tr>
  <tr>
    <td class="title">Lore ipsum</td>
  </tr>
</table>
<table>
  <tr></tr>
  <tr></tr>
  <tr>
    <td class="title">Foobar</td>
  </tr>
</table>
<table>
  <tr></tr>
  <tr></tr>
  <tr>
    <td class="title">Lore ipsum Foobar baz</td>
  </tr>
</table>

Looks like options for fastLiveFilter should allow that but having trouble figuring it out.

@axelson
Copy link

axelson commented Sep 9, 2014

I believe you'd pass in the selector option of "td.title" which was added in #18

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