Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7165863
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:19:14+00:00 2026-05-28T14:19:14+00:00

I am attempting to Filter a large list of tabular data with text keyup.

  • 0

I am attempting to Filter a large list of tabular data with text keyup.

In the past I was working with much smaller lists and using solution like the following

http://kilianvalkhof.com/2010/javascript/how-to-build-a-fast-simple-list-filter-with-jquery/

and

http://papermashup.com/jquery-list-filtering/

With these you iterate through the list with the contents of your filter, and you toggle the individual displays based on whether it should be shown or not.

I am trying to achieve this filtering without using any additional plugins (except for anything that comes with jquery)

I am also trying to keep all the filtering on the client side.

Here is my markup

<div>
  <table>
     <tbody>
         <tr class="mm-list-control-item" data-code="WHLO-AM">
           <td> WHLO-AM </td>
           <td>Rubber City</td>
           <td>Classic Hits</td>
         </tr>           
         <tr class="mm-list-control-item" data-code="WHLO-AM">
           <td> WHLO-AM </td>
           <td>Rubber City</td>
           <td>Classic Hits</td>
         </tr>
         <tr class="mm-list-control-item" data-code="WKDD-FM">
           <td> WKDD-FM </td>
           <td>Rubber City</td>
           <td>Classic Hits</td>
         </tr>
         <tr class="mm-list-control-item" data-code="WNIR-FM">
           <td> WNIR-FM </td>
           <td>Rubber City</td>
           <td>Classic Hits</td>
         </tr>
     <tbody>
  <table>
</div>

I am filtering off the data-code contents. Also the size of my list is roughly 2,000 items(tr).

UPDATE: I received a down-vote so let me clarify. I am not looking for large amounts of code. I just need some thoughts if there is a better way to architect this filter other then the way I am doing it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T14:19:15+00:00Added an answer on May 28, 2026 at 2:19 pm

    I will share the insights I picked up along the way

    1) avoid dom manipulation

    This is a rule you will hear often and it rings true in this example as well. You can get away manipulating the dom in small instances, but it gets expensive quickly and even more expensive if you dont have well written html as you will have to parse and html elements to try and locate and manipulate the exact are that you want to.

    2) If you decide to manipulate the dom do so efficiently.

    After using jquery for awhile you will realize that there are ways that jquery works that is taxing on your system.

    Here is an example of what I am saying:
    http://jsperf.com/jquery-children-vs-findall

    If you are running into issues with speed make sure that you are using jquery in a way that is as efficient as possible

    Solution:

    Build the list with the filter item included.

    I was able to keep everything on the client side like I originally envisioned. I was generating dynamic html via js so i already had the mechanisms in place to build my lists. I just need to add a new method that took in the filter variable and told my object what column(s) I was going to filter off.

    Conclusion:

    I know I didnt give actual code more of some guidelines and best practices of sort, and its more of a wiki then a QA, but if I would have come across this it may have saved me hours in my search for the best way to filter large list on the client side.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am attempting to filter a list based on a predicate Func. I use
Currently, working with RC0 Denali, having some issues I am attempting to review data
I am having trouble with a MOSS FulltextSqlQuery when attempting to filter People results
Attempting to print out a list of values from 2 different variables that are
Attempting to deploy a MOSS solution to a UAT server from dev server for
Attempting to use the data series from this example no longer passes the JSONLint
I'm attempting to check if a string(filter) is contained in another string(formattedAmount) i.e. is
I am attempting to configure ELMAH to filter 404 errors and I am running
Some background: I am attempting to create a DirectShow source filter based on the
I'm attempting to create a T-SQL case statement to filter a query based on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.