Commit Graph

499 Commits

Author SHA1 Message Date
Mottie
91a76eae45 Core: corrected sorting of col/rowspan in thead. Fixes #1005 2015-08-31 22:54:21 -05:00
Mottie
7756fdf9a2 Filter: restore triggered change namespace & prevent search before init. Fixes #1002 2015-08-27 07:14:22 -05:00
Mottie
3282dc52fc Filter: use namespacing on reset. Fixes #1001 2015-08-26 07:22:48 -05:00
Mottie
68ae07cb79 version bump 2015-08-23 13:22:56 -05:00
Mottie
47de48ef5d Filter: allow dynamically changing "anyMatch" filter. Fixes #998
previously, once an anyMatch type filter was found, it's value was always used to do an anyMatch search. Now the script checks to see if the input is targeting more than one column
2015-08-21 14:00:04 -05:00
Mottie
2281b8f2fb version bump 2015-08-19 18:20:27 -05:00
Mottie
805be29302 version bump 2015-08-17 21:08:41 -05:00
Mottie
2182b42157 Filter: fix js error caused when limiting search columns
See http://stackoverflow.com/q/32052986/145346 for an example
2015-08-17 20:10:29 -05:00
Mottie
2b8a104e1e Core: Add updateHeaders method. See #989 2015-08-17 20:07:58 -05:00
Mottie
e78c6539eb Core: correct code error causing jQuery v1.2.6 to not work. Fixes #995 2015-08-16 08:52:11 -05:00
Mottie
a383ce2aaa Core: use cells instead of references to prevent IE8 error. Fixes #987 2015-08-11 00:31:39 -05:00
Mottie
7a288dd1bf Pager: change enable, disable & destroy trigger methods. Fixes #980 2015-07-30 13:32:54 -05:00
Mottie
ce82258edc Core: make updating methods public
* `$.tablesorter.addRows` - called by `addRows` method.
  * `$.tablesorter.appendCache` - renamed from `appendToTable`; appends cache
    to DOM, called by `appendCache` method.
  * `$.tablesorter.isEmptyObject` - clone of `$.isEmptyObject` (jQuery v1.4).
  * `$.tablesorter.sortOn` - called by `sortOn` method.
  * `$.tablesorter.sortReset` - called by `sortReset` method.
  * `$.tablesorter.updateAll` - called by `updateAll` method.
  * `$.tablesorter.updateCache` - called by `updateCache` method.
  * `$.tablesorter.updateCell` - called by `updateCell` method.
  * `$.tablesorter.update` - called by `update` and `updateRows` method.
2015-07-29 19:50:50 -05:00
Mottie
3cd026ee05 version bump 2015-07-28 16:02:33 -05:00
Mottie
10bc23fa24 Overall: set jsHint "undef" & "unused" options. Fixed issues
The math widget had a javascript error which jsHint was not catching
2015-07-28 15:57:01 -05:00
Mottie
b3dd4b7c75 version bump 2015-07-28 15:01:32 -05:00
Mottie
7a91e0d6a6 Filter: prevent invalid RegExp errors 2015-07-27 18:49:30 -05:00
Mottie
6efe0fd9f5 Build: update files 2015-07-26 12:17:22 -05:00
Mottie
b5485f4992 Overall: update debug logging to use console 2015-07-24 18:23:00 -05:00
Mottie
a0d29c99f4 Core: fix hasWidget error 2015-07-23 07:26:48 -05:00
Mottie
75de112ef6 Build: Add jscs checking & fix style issues
Thanks @Herst!
2015-07-22 23:29:51 -05:00
Mottie
bd296c844f Core: use colgroup as a placeholder. See #938 2015-07-22 07:37:10 -05:00
Mottie
dd80e3c88f Pager: bind using unique event namespace. See #961 2015-07-14 21:22:52 -05:00
Mottie
6fede75e79 version bump 2015-06-30 09:59:41 -05:00
Mottie
fa3c21f1c6 Resizable: resizing works with overflow wrapped tables. Fixes #953 2015-06-26 21:26:44 -05:00
Mottie
5faba4b9e0 Filter: row remains visible after focused, when hideFilters set 2015-06-12 21:06:08 -05:00
Mottie
449b985c60 Filter: add nesting of "AND" & "OR" searches. Fixes #891 & #918 2015-06-12 21:02:26 -05:00
Mottie
020ebb7525 Core: add missing semicolon 2015-06-10 20:00:06 -05:00
Mottie
ca163ec639 Filter: selectSource now ignores parsers, if none set. Fixes #934 2015-06-07 19:26:28 -05:00
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