Releases: sunnywalker/jQuery.FilterTable
Releases · sunnywalker/jQuery.FilterTable
v1.5.7
v1.5.6
- Fixed filtering to work for special characters
'
,"
, and\
. - Minor documentation updates.
v1.5.5
- The filtering should now trigger automatically on input on iOS. For some reason, Safari iOS triggers a
blur
event on field change but notkeyup
or other related events. - A new feature for extending the plugin (option
filterExpression
) has been added. The default is unchanged—the literal filter string.- To search for any of multiple terms, set
filterExpression
tofilterTableFindAny
to perform an OR search which delimits on space or comma characters in the filter field. Thank you to Lukas for the implementation. An example page is included. - To search for all of multiple terms, set
filterExpression
tofilterTableFindAll
to perform an AND search which delimits on space or comma characters in the filter field. Note that the matching is per-cell not per row, so each cell must have all terms to match. An example page is included.
- To search for any of multiple terms, set
- A new feature for ignoring columns is available via the
ignoreColumns
option. Provide an array of column numbers (0-indexed) to ignore those columns during filtering. The default is no columns are ignored. An example page is included. - A new feature for ignoring cells with a specific class is available via the
ignoreClass
option. Provide a class name to ignore those cells during filtering. The default is no classes are ignored. An exampled page is included. Thanks to geda0 for the idea. - Added a
minChars
option, thanks to Darius Kazemi, which specifies the minimum number of characters a user must enter into the filter field before filtering occurs. Default is 1, meaning the moment the user begins to type, filtering will occur. - Merged Pierre Rudloff’s Bower support.
- Merged Jason’s
minRows
bug fix. - Added an FAQ file.