Commit Graph

520 Commits

Author SHA1 Message Date
Mottie
18a97ed4d9 Filter: target last used filter issue. See #920 2015-05-31 10:45:50 -05:00
Mottie
f315a8f02d StickyHeaders: fix js error. See #920 2015-05-29 07:16:31 -05:00
Mottie
1880d775ef resizable + stickyHeaders: replace window resize trigger. Fixes #912 2015-05-21 18:34:59 -05:00
Mottie
4410ecee0b Core: only preventDefault in specific jQuery versions. Fixes #911 2015-05-18 07:57:16 -05:00
Mottie
ce9cf604eb version bump 2015-05-17 23:01:15 -05:00
Mottie
13e3d0593d version bump 2015-05-17 15:32:53 -05:00
Mottie
b591583669 Filter: add data parameter to filter_functions. See #891 2015-05-05 23:44:06 -05:00
Mottie
4c2695030b Resizable: refreshing the widget will now preserve the storage. See #874 2015-04-16 10:07:25 -05:00
Mottie
9bee1805b2 Math: fix issues with isNaN("") = false. See #873 2015-04-16 07:52:33 -05:00
Mottie
d19985e517 Output: add output_hiddenColumns option. Fixes #869 2015-04-13 07:49:28 -05:00
Mottie
cd784f69ff Core: isDigit now reports false on empty strings. See #865 2015-04-10 10:16:14 -05:00
Mottie
1ccb713f2b Widgets: modify ts variable definition. See #866 2015-04-09 09:26:49 -05:00
Mottie
d6794b1241 version bump 2015-04-08 00:02:53 -05:00
Mottie
5065356bf8 Resizable: handles properly align in tables with margins. Fixes #864 2015-04-07 23:50:22 -05:00
Mottie
cfc18ac71b Filter: allow setting filter_selectSource with filter_functions
See http://jsfiddle.net/Mottie/856bzzeL/117/
2015-04-07 22:12:53 -05:00
Mottie
cd98f306bb Filter: cache main loop variables 2015-04-07 11:33:56 -05:00
Mottie
c2c4f8d8a0 Resizable: Second attempt @ fixing #859 2015-04-02 18:49:52 -05:00
Mottie
318e398019 Scroller: apply on initialization. Fixes #860 2015-04-02 18:46:19 -05:00
Mottie
bbaa88ab98 Resizable: integrate with columnSelector. See #859 2015-04-02 09:56:05 -05:00
Mottie
655a0f09b4 version bump 2015-03-30 07:58:07 -05:00
Mottie
7e20669890 Core: add getColumnText utility function 2015-03-30 07:52:46 -05:00
Mottie
263aa97e66 Build: add combined file with selected widgets & parsers. See #855
NOTE: the core js/jquery.tablesorter.js file is no longer UMD wrapped!; this is done by the build process now

Updated various parser & widget comments
2015-03-28 15:03:50 -05:00
Mottie
6f524ccef6 version bump 2015-03-26 10:48:43 -05:00
Mottie
d8abaadc29 Storage: add a bunch of storage widget options. Fixes #851 2015-03-25 20:24:35 -05:00
Mottie
673d7cbbb5 Resizable: major overhaul! Now compatible with stickyHeaders 2015-03-25 20:24:28 -05:00
Mottie
c82280e598 Global: removed c.$extraTables & c.$extraHeaders
These variables were causing memory leaks
2015-03-25 00:52:29 -05:00
Mottie
16dd744bcc Filter: make "disabled" a modifiable class name 2015-03-24 13:29:41 -05:00
Mottie
7f37b90ebd General code cleanup
Also replace instances of tagName with nodeName
2015-03-23 16:08:07 -05:00
Mottie
2340dc7de8 version bump 2015-03-13 12:37:18 -05:00
Mottie
96b0bb7f4c Output: change carriage returns & tabs to work with Excel. Fixes #845 2015-03-13 12:15:19 -05:00
Mottie
d8417c595a uitheme: Add icon classes while using stickyHeaders. See #842 2015-03-12 11:21:28 -05:00
Mottie
979b3e5ddc Filter: prevent error if parseFilter returns NaN
It all depends on what the parser returns; some custom parsers may not take all situations into account
2015-03-11 17:32:24 -05:00
Mottie
53694db90b version bump 2015-03-10 12:05:02 -05:00
Mottie
7149b97ef7 Remove undefined window & document parameters. See #837 2015-03-09 20:59:14 -05:00
Nicholas Burlett [GHS]
1f8c9c282d Fix for requirejs inclusion
Fixes upstream issue #829

Update Gruntfile.js to wrap the whole `jquery.tablesorter.widgets.js`
file in a requirejs-compatible factory.
2015-03-09 18:08:14 -07:00
Mottie
403d831fc0 version bump 2015-03-05 10:10:57 -06:00
Mottie
37e7718ebe Filter: extend filterFormatter functions 2015-03-02 11:16:08 -06:00
Mottie
c17aa829e6 Debug: update debug logging
pager, columnSelector & filter
2015-02-27 17:37:14 -06:00
Mottie
a69a746fdf Core: merge in modified addInstanceMethods. Closes #826
Removed `$columnHeader` & replaced it with new `$headerIndexed` variable
2015-02-27 14:33:27 -06:00
Mottie
c93ee7ceef StickyHeaders: add sticky header hidden class & modal demo links. Closes #832
position relative is only added if no position attribute is set
2015-02-26 17:52:31 -06:00
Mottie
d3170096b2 Filter: External filters can set initial values. Fixes #831
An empty string is better than an undefined filter
2015-02-26 08:30:09 -06:00
Mottie
873f6d2ee2 Optimizations: replace arrays using $.each with for loops. See #827 2015-02-25 18:44:36 -06:00
Mottie
4f3a7bc470 Output: add output_includeFooter option
See http://stackoverflow.com/q/28711187/145346
2015-02-25 13:12:51 -06:00
Mottie
c99a716fe5 Dist: update build 2015-02-24 01:23:01 -06:00
Mottie
4a1498e11d version bump 2015-02-20 19:37:29 -06:00
Mottie
97d3caaffa Filter: Fix major issue with filter widget
Odd that the qunit test during the grunt build did not catch it!
2015-02-20 19:35:41 -06:00
Mottie
5f855eb2d3 version bump 2015-02-20 18:48:56 -06:00
Mottie
c0911bc7ca Filter: copied MaksimProgr changes & updates to widget-filter.js 2015-02-20 16:38:11 -06:00
Mottie
fbc5c01c6a Filter: add filter_columnAnyMatch option
tweak anymatch code & added examples to the demo
2015-02-20 16:26:15 -06:00
MaksimProgr
a3e53194b0 some changes 2015-02-20 16:25:35 -06:00
MaksimProgr
e6db1fadfc Added specific columns search 2015-02-20 16:25:34 -06:00
Mottie
dff599fdeb Dist: update distribution folder 2015-02-20 16:17:29 -06:00
Mottie
b9b09922a3 Merge branch 'working' into build 2015-02-20 10:54:52 -06:00
prijutme4ty
34567c0ccb Make +config.cache+ indexed the same way as +config.$tbodies+ is, i.e. ignore info blocks.
Remove unused var, rename some local vars into more specific ones;
2015-02-20 14:41:28 +03:00
Mottie
2774abf8d8 Build: Add grunt build process
Rearranged, renamed & broke apart other files
2015-02-12 21:10:38 -06:00
Mottie
5ad4509969 Filter: oops, keeping the faster getAttribute method 2015-02-12 10:14:49 -06:00
Mottie
15284156d8 Filter: prevent undefined error. Fixes #819 2015-02-12 10:13:22 -06:00
Mottie
c4a84f3dd5 version bump 2015-02-09 18:44:47 -06:00
Mottie
9993d77f38 Core/widgets: update unbinding events to prevent removing all binds
This appears to be a jQuery bug when unbinding events in versions between 1.7 & 1.8 - see http://jsfiddle.net/Mottie/zL6uory0/
2015-02-09 17:12:40 -06:00
Mottie
9b32f0c5f6 version bump 2015-02-07 00:46:44 -06:00
Mottie
f6b33cc367 Docs: updates & removed some widgets from beta 2015-02-06 23:04:28 -06:00
Mottie
1af1de85e1 Filter: get cell text from data-attribute, then cell. See #812 2015-02-06 18:07:17 -06:00
Mottie
df87314007 Filter: select source now uses config.textAttribute when gathering text. Fixes #812 2015-02-06 16:32:12 -06:00
Mottie
17c30f1710 uitheme: add inner wrapper to columns missing it 2015-02-02 23:13:28 -06:00
Mottie
19b69c9ac3 Widgets: update remove function
columnSelector, cssStickyHeaders, pager, repeatHeaders, saveSort & stickyHeaders
2015-02-02 07:58:47 -06:00
Mottie
35e2c54404 Filter: normalize table parameter 2015-01-29 22:17:38 -06:00
Mottie
f1961efe8f Widgets: modify remove functions for refreshing widgets
renamed parameter from "temp" to "refreshing" & updated docs
2015-01-25 11:01:07 -06:00
Mottie
857e275aab Core: add removeWidget & refreshComplete
Updated addWidget, applyWidget & refreshWidgets
2015-01-23 23:09:32 -06:00
Mottie
a50f5555a9 Storage & Build widget: pass "null" to $.parseJSON as a fallback. Fixes #586
Also change build widget example code to use dataType:"text" for csv data
2015-01-18 09:02:14 -06:00
Mottie
402200914d uitheme: add separate sort class names to header & icon element; breaks old demos 2015-01-15 14:06:01 -06:00
Mottie
cb6912b075 uitheme: will now update properly when config.theme changes 2015-01-14 13:34:19 -06:00
Mottie
11ff8c4ab1 Filter: hide filter row using the "filtered" class name
needed for the scroller widget, or the filter row becomes visible:hidden on filterEnd and adds a butt-load of padding to the top of the scroll window
2015-01-14 13:20:41 -06:00
Mottie
61b339dd3b Core/Filter: remove widget temp parameter added indicating refreshWidgets was trigger 2015-01-11 20:02:39 -06:00
Mottie
cdb766f8d9 version bump 2014-12-22 21:12:59 -06:00
Mottie
f9940ac785 StickyHeaders: make includeCaption option dynamic; add note of new jQuery requirement 2014-11-26 21:20:52 -06:00
Mottie
5ef1781aba version bump 2014-11-07 19:32:10 -06:00
Mottie
e07ce8146f version bump & added FORK notes 2014-11-03 17:45:53 -06:00
Mottie
443f963567 Filter: fix filter initialization intermittently stalling 2014-11-03 17:33:02 -06:00
Mottie
363f083682 version bump 2014-11-03 10:56:46 -06:00
Mottie
e8452da206 Pager: fix pager initialization with filter widget & display update. Fixes #755 & #757 2014-10-31 11:56:17 -05:00
Mottie
2dd35ed97f uitheme: undefined removeClass selector = remove all classes 2014-10-30 22:27:10 -05:00
Mottie
3b2742f475 version bump 2014-10-26 19:11:12 -05:00
Mottie
81133dfdc0 Filter: fix saved filters updates to multiple or any column inputs 2014-10-26 13:46:53 -05:00
Mottie
fd038ceebe Filter: anymatch now uses filter_ignoreCase option properly. Fixes #748 2014-10-21 12:18:43 -05:00
Mottie
df36ae331d Filter: clean up white-space in data-column 2014-10-20 23:34:38 -05:00
Mottie
8d0ea85880 Filter: External inputs can target multiple columns. 2014-10-20 23:21:57 -05:00
Mottie
3e42e8bb74 StickyHeaders: works with nested tables & modified options. Fixes #724 2014-10-20 17:46:23 -05:00
Mottie
71597e208a Uitheme: fix multiple header row sort icons 2014-10-20 15:45:43 -05:00
Mottie
c9a7304f48 uitheme: add method to remove previous theme 2014-10-18 08:32:21 -05:00
Mottie
e649b0a63c Core: Add widgetClass option & fix debug logs for applying widgets. Fixes #743 2014-10-10 20:50:51 -05:00
Mottie
3058060a63 UItheme: ignore nested tables 2014-10-04 11:50:30 -05:00
Mottie
0346f0fd79 Resizable: make to work inside overflow container. Fixes #737 2014-10-02 20:51:30 -05:00
Mottie
09c3091066 Filter: add filter_cellFilter option. Fixes #731 2014-10-02 11:46:09 -05:00
Mottie
235fc037fa Filter: wildcard filter match behaves logically. Fixes #727 2014-09-28 00:21:33 -05:00
Mottie
08bf513acd version bump 2014-09-15 19:44:03 -05:00
Mottie
fd9598b9ab Filter: filter_defaultFilter will now override exact/partial select filters. See #721 2014-09-12 18:25:40 -05:00
Mottie
ec019b387c Filter: select will exactly match the selected option unless "filter-match" is set. Fixes #721 2014-09-12 11:07:08 -05:00
Mottie
ff16bfd090 Filter: ensure initial filter settings get applied 2014-09-09 16:23:29 -05:00
Mottie
de68dff8b9 Filter: add mutliple separated by spaces (not comma) 2014-09-08 20:32:23 -05:00
Mottie
356ee47026 Filter: add filter_excludeFilter option 2014-09-08 20:27:52 -05:00
Mottie
b5747566e6 StickyHeaders: Fix issue so it works with jQuery v1.2.6 again 2014-09-03 08:24:08 -05:00
Mottie
3b30cd0cbe Filter: prevent multiple searches during initialization 2014-09-02 10:59:04 -05:00
Mottie
1a83496275 Filter: remove console.log 2014-08-28 11:58:05 -05:00
Mottie
336d519d07 Filter: fix filterDefault issue with using class selectors 2014-08-28 11:55:02 -05:00
Mottie
6bec32a44b Filter: defaultFilter now makes happy with spaces in the query. Fixes #704 2014-08-28 11:45:26 -05:00
Mottie
b497cfb1a4 Filter: add defaultFilter option. Fixes #704 2014-08-28 11:26:31 -05:00
Mottie
dbecda238c Editable: trim everything! & revert widget changes 2014-08-27 18:06:22 -05:00
Mottie
718257447f Editable: trim everything! 2014-08-27 17:36:11 -05:00
Mottie
c1ce0768d7 version bump 2014-08-09 11:30:02 -05:00
Mottie
d55a99eb4c Filter: external select causing javascript error. Fixes #702 2014-08-04 07:38:22 -05:00
Mottie
526a869b49 version bump & cleanup 2014-08-01 21:31:33 -05:00
Mottie
1af715118d Filter: anymatches now follow the filter_startsWith setting
See http://stackoverflow.com/q/25070448/145346
2014-08-01 19:02:19 -05:00
Mottie
94fd41758c Filter: Add role to filter row for screen readers. See #697 2014-07-30 12:29:26 -05:00
Mottie
2d5ff1c203 Filter: add filter_selectSourceSeparator option. Fixes #692 2014-07-29 10:52:40 -05:00
Mottie
d499e43509 Filter: update filter_selectSource to accept arrays instead of functions
it was documented to work this way, but it wasn't previously included
2014-07-28 17:40:00 -05:00
Mottie
22a2841f9c parser-false: automatically set sorter-false & filter-false behavior 2014-07-21 18:43:01 -05:00
Mottie
e20712dfdc Filter: Update buildSelect function to allow external calls to modify filter select options 2014-07-18 13:51:25 -05:00
Mottie
f8a6898168 Filter: fix onlyAvail setting causing a js error on init 2014-07-18 13:11:05 -05:00
Mottie
28cdec1b60 Filter: Make all options show in the current select when onlyAvail is set 2014-07-18 11:29:51 -05:00
Mottie
f0d04d8b22 Resize: addHeaderResizeEvent's table parameter fix for #687 2014-07-17 18:28:58 -05:00
Mottie
e861f6c3fc Cleanup & version bump 2014-07-17 12:40:11 -05:00
Mottie
a5a793b393 Filter: Add formatter requirement to call function when updated. Fixes #668 2014-07-17 11:18:07 -05:00
Mottie
9dea6c656e Filter: filterInit delayed to prevent the beloved filter event spam. Fixes #668 2014-07-17 07:55:32 -05:00
Mottie
a0ad313508 Filter: parse non-filter type searches 2014-07-16 17:30:02 -05:00
Mottie
29d7dd464c Filter: Ensure filter is parsed if column is set to use parsed data 2014-07-16 17:19:49 -05:00
Mottie
0782741fb8 Filter: ignore change event if input value hasn't changed. Fixes #685 2014-07-16 15:11:54 -05:00
Mottie
c4cad65dc4 Filter: select now obtains parsed data when set for a column. Fixes #684 2014-07-15 17:19:05 -05:00
Mottie
4c958da495 Filter: make config.filteredRows count available @ filterInit event. Fixes #670 2014-07-15 12:42:21 -05:00
Mottie
4f29e36f12 Filter: force cache build on initial search when delayInit true. Fixes #678 2014-07-11 15:01:26 -05:00
Mottie
24d1865df4 Resizable: remove unused grip code 2014-07-08 21:13:56 -05:00
Mottie
6de1009af8 version bump 2014-07-04 07:36:50 -05:00
Mottie
10b0f4e7f2 Resizable: add resizable_throttle option to throttle mousemove event. Fixes #662 2014-07-03 23:04:15 -05:00
Mottie
b83f67a965 UITheme: non-existent column no longer causes js error. Fixes #672 2014-07-03 22:12:09 -05:00
Mottie
adbfe83edf Filter: filterInit & filterEnd events now pass config as a parameter 2014-07-03 11:47:58 -05:00
Mottie
2a835930e4 Core/Filter/Pager: Add config.totalPages & modify filterEnd variable to include it. See #670 2014-07-03 10:59:48 -05:00
Mottie
baac4d94f4 Filter: Fix change/search event being ignored for filterFormatter & selects 2014-07-03 10:31:20 -05:00
Mottie
7e36b9553b Filter: Add internal filteredRows variable. Fixes #670 2014-07-03 07:56:28 -05:00
Mottie
7be358f50c Resizable: bind mousemove to document instead of table header. Fixes #665
make the resizable consistent with other resizers as it is what end users are expecting
2014-07-03 07:02:32 -05:00
Mottie
2476c3bb79 Filter: include any column filter in determination to search filtered rows. Fixes #669 2014-07-03 06:10:13 -05:00
Mottie
d34d951b93 Filter: filter_initialized flag now gets set appropriately. Fixes #668 2014-07-02 23:18:49 -05:00
Mottie
0b380ad323 Filter: add filter_searchFiltered option to allow disabling the search of already filtered rows 2014-06-30 23:07:12 -05:00
Mottie
197af4fc31 version bump 2014-06-28 23:04:50 -05:00
Mottie
7085eed6a6 Filter: modify change event so a select searches w/o a carriage return. Fixes #650 2014-06-21 01:14:45 -05:00
Mottie
ea48d95fbc Filter: filter_liveSearch set to number now searches when pressing enter. Fixes #654 2014-06-20 12:31:00 -05:00
Mottie
d9cb97f1e6 version bump 2014-06-18 16:07:29 -05:00
Mottie
10528ebd44 Filter: corrected filter events & prevent table manipulation if filters are empty. Fixes #645
filter events no longer occur before the filterInit event
2014-06-16 11:19:29 -05:00
Mottie
5aeae68774 Filter: selectSource option now correctly handles parsed values that return a zero 2014-06-04 16:01:55 -05:00
Mottie
c09945c60c version bump 2014-05-28 19:22:11 -05:00
Mottie
d654a18b70 Filter: add a not-exact-match (!=) filter type. Fixes #628 2014-05-28 11:00:00 -05:00
Mottie
fcebad5a0f version bump 2014-05-22 07:53:29 -05:00