Rob Garrison
fc04ceaad6
version bump
2015-11-10 21:35:33 -06:00
Rob Garrison
a203ac5f52
version bump
2015-11-10 15:27:30 -06:00
Rob Garrison
9bf590edb8
Core: Add sortDisabled language setting; used in aria-labels
2015-11-08 08:36:13 -06:00
Rob Garrison
001bcae652
Core: sortRestart works again with multi-row headers. Fixes #1074
2015-11-06 12:41:00 -06:00
Rob Garrison
0c99d0c6e3
version bump
2015-11-04 20:15:37 -06:00
Rob Garrison
f80d3d4c2c
Core: fix sortRestart preventing sort. Fixes #1072
2015-11-04 19:31:02 -06:00
Rob Garrison
d8d5908d41
Core: jQuery filter element parameter not defined in v1.2.6
2015-11-04 12:35:57 -06:00
Rob Garrison
73153f2bdf
version bump
2015-11-02 12:36:00 -06:00
Rob Garrison
9bfde43c8f
version bump
2015-11-02 10:50:31 -06:00
Rob Garrison
dbcd306ff2
Core: cache shortDate parser & time parser extracts time
2015-11-01 23:29:18 -06:00
Rob Garrison
1d813bd766
version bump
2015-10-31 11:06:09 -05:00
Rob Garrison
b8880d65f9
Core: Add widget from class before adding options
2015-10-29 23:56:02 -05:00
Rob Garrison
63374355ca
Core: Fix parser detect of columns that don't exist due to colspan
...
And prevent error if config.sortVars is undefined
See #746 & #1047
2015-10-27 20:45:27 -05:00
Rob Garrison
7cdd524d83
Core: maintaining support for IE7-8, until 1/12/16
...
See https://support.microsoft.com/en-us/gp/microsoft-internet-explorer
2015-10-26 18:43:19 -05:00
Rob Garrison
5d4529c37d
Global: call internal functions directly; stop using trigger
2015-10-22 16:41:34 -05:00
Rob Garrison
035a394459
Core: Add "tablesorter-ready" event
2015-10-22 15:10:05 -05:00
Rob Garrison
2409e830b6
Core & headerTitles: internalize sort counter & fix spanned sorts
2015-10-21 11:03:14 -05:00
Rob Garrison
b8e2b65493
Core: sortAppend now accepts an object of column references
...
See http://stackoverflow.com/q/33177910/145346
2015-10-20 12:47:05 -05:00
Rob Garrison
d1d7da2ac2
Core: fix multisort indicators. Fixes #1005 , again
...
There is now a check to verify that the targeted column is in the sortList, this includes a cell with a colspan that may be outside of the included sort
2015-10-20 06:25:34 -05:00
Rob Garrison
d5a9fb6f81
Core: add rowFilter parameter to getColumnText
2015-10-19 20:54:56 -05:00
Rob Garrison
921631397c
Grunt: update build files
2015-10-18 13:24:13 -05:00
Rob Garrison
2b55fca6dd
Core: reformat structure & expand variable names
...
All functions are now public, but some remain undocumented
2015-10-18 13:21:46 -05:00
Rob Garrison
55d19b3a95
Core & Filter: Add "entire column colspan" support. See #746 & #1047
2015-10-17 15:15:36 -05:00
Rob Garrison
c317ded727
Core: use plain js to set index attr & remove unused variable. See #1048
2015-10-14 20:45:46 -05:00
Rob Garrison
40dcaace25
version bump
2015-10-04 09:26:07 -05:00
Rob Garrison
abb5646eb1
Core: Remove tabindex when sort is disabled
...
See http://stackoverflow.com/a/16827628/145346
2015-10-03 22:11:02 -05:00
Mottie
fa4f916633
version bump
2015-09-23 10:21:44 -05:00
Mottie
8b3fbbbec5
Core: use window.console
check to prevent IE9 error. Fixes #1019
2015-09-22 00:17:35 -05:00
Mottie
fca2c9d27e
Core: update natural sort regular expression
2015-09-06 20:50:01 -05:00
Mottie
60666279e2
Core: ensure widgets don't get cache options. Fixes #946
2015-09-05 09:28:02 -05:00
Mottie
829d3792fa
version bump
2015-09-01 10:45:24 -05:00
Mottie
faaafe60a9
Core: correct header sort indicators in row/colspans. Fixes #1005
2015-09-01 10:35:55 -05:00
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
68ae07cb79
version bump
2015-08-23 13:22:56 -05:00
Mottie
8b73160c67
Core & Filter: cache regex
2015-08-23 07:00:34 -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
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
b697d08752
Core: update addRows debug message
2015-07-29 20:57:08 -05:00
Mottie
e87f7ae523
Core: addRows accepts a row string if only one tbody exists
2015-07-29 20:48:12 -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
439034aa5e
Core: prevent addRows error. See #979
2015-07-29 18:09:35 -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
6efe0fd9f5
Build: update files
2015-07-26 12:17:22 -05:00
Mottie
8e81d53db3
Core/Test: add isValueInArray array testing
2015-07-26 09:15:35 -05:00
Mottie
7aa3fb11cf
Core: fix js error in isProcessing function
2015-07-26 09:09:21 -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
0e611bc6a8
version bump
2015-06-30 18:56:38 -05:00
Mottie
6fede75e79
version bump
2015-06-30 09:59:41 -05:00
Mottie
37d44b18e3
Core: allow empty string in textExtraction data-attribute. See #954
2015-06-23 16:11:29 -05:00
Mottie
020ebb7525
Core: add missing semicolon
2015-06-10 20:00:06 -05:00
Mottie
e16a44c0b5
Core: make getParsedText a public function
2015-06-07 19:36:13 -05:00
Mottie
009ce272bb
Core: updateCache now accepts tbody object
...
needed for tbody sorter widget
2015-06-07 17:02:42 -05:00
Mottie
d0a189d2e3
Zebra: target non-info block tbodies in extra tables
2015-05-22 23:16:48 -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
8d2abbba32
Core & pager: replace remaining jQuery each function. Fixes #827
2015-05-17 11:10:49 -05:00
Mottie
ee9c301edb
Core: add "ō" to sortLocaleCompare & update docs
2015-05-16 15:33:09 -05:00
Mottie
65d48727ff
Core: prevent js error if sortList targets incorrect column. Fixes #908
2015-05-14 11:54:39 -05:00
Mottie
2a850ae18b
Core: properly store child row content in row data & cleanup
2015-05-12 22:35:30 -05:00
Mottie
ab03e829f8
Core: centralize extractor & parser code
...
buildCache, addRows & updateCell functions all used very similar code
2015-05-03 22:58:02 -05:00
Mottie
f98ad57499
Core & math: prevent js error on empty tables. Fixes #889
2015-04-30 12:00:17 -05:00
Mottie
27567178d7
Core: add pointer event options. Fixes #885
...
Add pointerUp, pointerDown, pointerClick options
2015-04-25 22:25:04 -05:00
Mottie
cd784f69ff
Core: isDigit now reports false on empty strings. See #865
2015-04-10 10:16:14 -05:00
Mottie
d6794b1241
version bump
2015-04-08 00:02:53 -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
c82280e598
Global: removed c.$extraTables & c.$extraHeaders
...
These variables were causing memory leaks
2015-03-25 00:52:29 -05:00
Mottie
fd693b6d87
Core: include extraTables along with extraHeaders
...
Also replace instances of tagName with nodeName
2015-03-23 16:10:37 -05:00
Mottie
ac89d509c7
Core: revert pull #849 ; changed sort initiation method
...
A click event can now be triggered on the header to initiate a sort
2015-03-20 18:17:36 -05:00
John Whitman
0790d0e042
add option to toggle behavior of long clicks
2015-03-20 07:44:03 -04:00
Mottie
fe8b7a17b5
Core: fix icon targeting for class names
2015-03-17 12:14:53 -05:00
Mottie
2340dc7de8
version bump
2015-03-13 12:37:18 -05:00
Mottie
2e398259b3
Core: get accurate column count. Fixes #840
2015-03-11 18:09:44 -05:00
Mottie
53694db90b
version bump
2015-03-10 12:05:02 -05:00
Mottie
a37700ebcd
Core: allow multiple icon class names in definition
2015-03-09 16:23:36 -05:00
Mottie
bab36c48dc
Core: use :last to maintain jQuery v1.2.6 compatibility
2015-03-08 09:37:40 -05:00
Mottie
5820c56282
Core: optimize getColumnData
2015-03-08 09:11:24 -05:00
Mottie
403d831fc0
version bump
2015-03-05 10:10:57 -06:00
Mottie
e4bea3987a
Core & Grouping: Apply widget options before parsing
...
This allows parsers to use widget options, like the group_checkbox settings
2015-03-05 09:28:16 -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
4171325819
Merge branch 'addInstanceMethods' of https://github.com/prijutme4ty/tablesorter into instance
...
Conflicts:
js/jquery.tablesorter.js
js/widgets/widget-filter.js
2015-02-27 06:56:53 -06:00
Mottie
873f6d2ee2
Optimizations: replace arrays using $.each with for loops. See #827
2015-02-25 18:44:36 -06:00
prijutme4ty
c71e8f6220
Added $.tablesorter.addInstanceMethods function which allows one
...
to define config object instance methods.
Refactored getting the column header using config-object method $columnHeader.
2015-02-25 17:21:02 +03:00
Mottie
fb9ad1acac
Core: plan to manually update version number
...
too many scripts link to the src, so it'll be hard to tell what version is being used
2015-02-21 18:36:05 -06:00
Mottie
146a5ff2ea
Grunt build: Use string replace to update version #
2015-02-20 18:48:25 -06:00
Mottie
b71c1fe681
Event unbinding: change trim to replace spaces
...
the problem in jQuery 1.7-1.8 was any double spaces within a list of event names would cause the unbind to remove all event bindings - see http://jsfiddle.net/Mottie/zL6uory0/2/
2015-02-20 16:17:29 -06:00
Mottie
ff3701f63b
Core: minor tweak
2015-02-20 16:17:17 -06:00
Mottie
6fa4a513be
Core: make jsHint happy
2015-02-20 14:35: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
Ilya Vorontsov
c2f39080d2
Update jquery.tablesorter.js
...
fix little bug in new getElementText
2015-02-18 21:41:28 +03:00
Mottie
2065d0c8f1
Core: Fix noSort
2015-02-17 16:37:06 -06:00
Mottie
df97b1db8e
Core: remove cssAllowClicks default
2015-02-17 16:22:03 -06:00
Mottie
0c8aa7e225
Core: remove cssAllowClicks & update cssNoSort
2015-02-17 16:10:52 -06:00
Mottie
39f50d90c9
Core: add cssNoSort
option
2015-02-17 14:49:23 -06:00
Mottie
764426d2c4
Core: make getElementText function public
2015-02-15 16:43:20 -06:00
Mottie
2774abf8d8
Build: Add grunt build process
...
Rearranged, renamed & broke apart other files
2015-02-12 21:10:38 -06:00
Mottie
5263aa75ae
Core: make core compatible with jQuery v1.2.6 again
2015-02-12 21:03:36 -06:00
Mottie
5e8953d901
Core: fix broken unbinding of events
2015-02-11 18:18:28 -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
fec49e144a
Core: save raw table cell data
2015-02-09 15:23:51 -06:00
Mottie
9ff5a2ef5f
Core: replaced quotes with single quotes
...
Because I couldn't suppress my OCD any longer
2015-02-09 15:18:41 -06:00
Mottie
9b32f0c5f6
version bump
2015-02-07 00:46:44 -06:00
Mottie
b5f931ec17
Merge branch 'master' into working
2015-02-04 07:36:09 -06:00
prijutme4ty
d96d6ba11b
fix check which can cause unresolving parsers in case that first tbody is empty and consequent tbodies have less rows than a number of tbody
2015-02-04 13:49:01 +03:00
Mottie
9845a692e2
Core: updateAll method no longer restores headers
2015-02-02 11:33:20 -06:00
Mottie
491b0c17a9
Core: trim header text added to aria label
2015-02-02 11:12:56 -06:00
Mottie
9202a900e7
Core: Prevent adding multiple icons on refresh
2015-02-02 10:57:27 -06:00
Mottie
a031bcc9e0
Core: Add resort option
...
It is used as the fallback value when no resort parameter is included with the "updateAll", "update", "addRows" and "updateCell" methods. Also, modified the "updateCell" method to not reapply widgets if resort is false; this may resolve issue with widgets causing elements to lose focus
2015-01-28 23:32:21 -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
87c9c6645f
Core: prevent resort when serverSideSorting is true. Fixes #764
...
Add AMD functions to jshint globals & general cleanup
2015-01-22 07:58:19 -06:00
Mottie
3213d16867
Core: optimize textExtraction function
...
Reduced comparisons & moved "simple" textExtraction before checks for textExtraction functions & using getColumnData, to further speed up processing time
2015-01-20 12:31:19 -06:00
Mottie
b9ddc1849d
Docs: remove uitheme widgetOption & update comments
2015-01-15 07:59:27 -06:00
Mottie
6cd67973cc
Core: make fixColumnWidth a public function
...
Add class name to colgroup when programmically added so calling the $.tablesorter.fixColumnWidth function can determine when to refresh the set col widths
2015-01-14 13:20:31 -06:00
Mottie
61b339dd3b
Core/Filter: remove widget temp parameter added indicating refreshWidgets was trigger
2015-01-11 20:02:39 -06:00
Mottie
d3fc919bc3
Merge branch 'master' into working
2015-01-04 13:28:17 -06:00
Michael Wiencek
15b2a789e2
Support for AMD, browserify environments
2015-01-03 20:31:14 -06:00
Mottie
ffb5ffc5fd
Core: resort variable can now contain a new sort. See #782
2014-12-24 08:18:25 -06:00
Mottie
cdb766f8d9
version bump
2014-12-22 21:12:59 -06:00
Mottie
008d4d6f8b
Core: allow passing alternate headers to getColumnData function
2014-11-29 18:38:42 -06:00
Mottie
fe496c68cb
Core: Add cssIgnoreRow option
...
c.$headers will not include cells from this row
2014-11-29 18:38:41 -06:00
Mottie
5ef1781aba
version bump
2014-11-07 19:32:10 -06:00
Mottie
830fd91129
Core: widthFixed option will no longer target nested table colgroup elements
2014-11-06 10:33:07 -06:00
Mottie
da2a0d9958
Core: add cssIcon class name options for no, asc & desc sorts
2014-11-05 14:29:27 -06:00
Mottie
e07ce8146f
version bump & added FORK notes
2014-11-03 17:45:53 -06:00
Mottie
363f083682
version bump
2014-11-03 10:56:46 -06:00
Mottie
5d53939cb0
Core: a column can now be targetting using a class name within the header cell
2014-10-30 21:23:49 -05:00
Mottie
278fbccad7
Core: add cssAllowClicks option
2014-10-27 19:50:41 -05:00
Mottie
3b2742f475
version bump
2014-10-26 19:11:12 -05:00
Mottie
5a00bf2bb7
Core: update widgetClass option matching. See #743
2014-10-18 15:05:23 -05:00
Mottie
19d85b83f2
Core: aria-labelledby attribute no longer added with nested captions
2014-10-16 10:23:32 -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
5cd7b33df7
Core: get column index from data-attribute when sorting
2014-10-10 07:54:25 -05:00
Mottie
317d0585ad
Core: fix ARIA caption label reference
2014-10-02 12:07:22 -05:00
Mottie
065342b825
Parsers: Update all date parsers to ensure valid dates
2014-09-30 16:20:04 -05:00