<commit_before># uiTableFilter

- jquery plugin for filtering table rows


## download

click Download link at bottom of:
http://plugins.jquery.com/project/uiTableFilter


## source code

http://github.com/gregwebs/jquery-uitablefilter


## author and license

copyright <NAME> dual licensed under GPL and MIT


## Demos

### personal

http://projects.gregweber.info/demo/flavorzoom.html

### outside

http://silverwareconsulting.com/index.cfm/2008/10/2/jquery-autofiltering-table
this is a nice example that ties this plugin with the tablesorter plugin


## usage

              t = $('table')
              $.uiTableFilter( t, phrase )
            

arguments:

    * jQuery object containing table rows
    * phrase to search for
      - If the phrase contains spaces it will be broken up into separate words that must all match a row

optional arguments:
              $.uiTableFilter( t, phrase, column, ifHidden )

    * column to limit search too (the column title in the table header)
    * ifHidden - callback to execute if one or more elements was hidden


## Warning:
* expects a thead and tbody element
<commit_msg>update README documentation: jquery site down<commit_after># uiTableFilter

- jquery plugin for filtering table rows

# alternatives

This plugin is very light-weight (please [look at the source](https://github.com/gregwebs/jquery-uitablefilter/blob/master/jquery.uitablefilter.js)). I consider it finished, and have no plans to add any features. It works quickly for small data sets without consuming any extra memory (that would be needed for faster filtering).

I often use the [DataTables](http://datatables.net/) plugin when I have greater table needs.

## download

click Download link at bottom of:
http://plugins.jquery.com/project/uiTableFilter

That link seems to be broken now.
You can simply download the [latest code from github](https://raw.github.com/gregwebs/jquery-uitablefilter/master/jquery.uitablefilter.js)


## source code

http://github.com/gregwebs/jquery-uitablefilter


## author and license

copyright <NAME> dual licensed under GPL and MIT


## Demos

### personal

http://projects.gregweber.info/demo/flavorzoom.html

### outside

http://silverwareconsulting.com/index.cfm/2008/10/2/jquery-autofiltering-table
this is a nice example that ties this plugin with the tablesorter plugin


## usage

              var t = $('table')
              $.uiTableFilter( t, phrase )
            

arguments:

    * jQuery object containing table rows
    * phrase to search for
      - If the phrase contains spaces it will be broken up into separate words that must all match a row

optional arguments:
              $.uiTableFilter( t, phrase, column, ifHidden )

    * column to limit search too (the column title in the table header)
    * ifHidden - callback to execute if one or more elements was hidden


## Warning:

* expects a thead and tbody element

{'fraction_non_alphanumeric': 0.08055077452667814, 'fraction_numerical': 0.004819277108433735, 'mean_word_length': 3.3633633633633635, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6128987', 'n_tokens_mistral': 816, 'n_tokens_neox': 763, 'n_words': 316}