Commit Graph

445 Commits

Author SHA1 Message Date
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