Commit Graph

628 Commits

Author SHA1 Message Date
Rob Garrison
f149719022 Core: include extra headers when adding unsorted class. Fixes #1306 2016-11-24 07:36:01 -06:00
Rob Garrison
b0c643e85c Core: return value from getColumnData if not an object 2016-11-18 04:59:59 -06:00
Rob Garrison
d73e9513e0 version bump 2016-09-28 21:12:04 -05:00
Rob Garrison
7ffa3f2785 Core: minor code cleanup 2016-09-25 20:35:29 -05:00
Rob Garrison
570d3c0c30 version bump & misc cleanup 2016-09-23 11:45:10 -05:00
Rob Garrison
1710f5c25b Core: Remove space from debug message 2016-09-06 07:29:53 -05:00
Rob Garrison
7610c19813
Core: Include version in the log 2016-09-05 12:16:24 -05:00
Rob Garrison
847b6676f4
version bump 2016-09-01 11:46:28 -05:00
Rob Garrison
e33a07db95
Core: textSorter now accepts class names 2016-08-31 21:40:57 -05:00
Rob Garrison
27a931e785
version bump 2016-08-22 10:41:07 -05:00
Rob Garrison
9aebc10050
version bump 2016-08-18 14:43:50 -05:00
Rob Garrison
fca6ef2652
verion bump 2016-08-17 12:48:51 -05:00
Rob Garrison
6fcade5fd5
Core: getColumnData now allows falsy values 2016-08-17 12:01:04 -05:00
Rob Garrison
bb04e8a584
version bump 2016-08-02 14:56:10 -05:00
Rob Garrison
ee5879a7eb
Core: Allow leading zeros in time parser. Fixes #1269 2016-08-01 15:40:23 -05:00
Rob Garrison
671e0f7261
version bump 2016-07-31 21:10:50 -05:00
Rob Garrison
1a733a78b7
version bump 2016-07-31 20:48:27 -05:00
Rob Garrison
5e67437604
Core: Tweak internal sortVars & sortReset. Fixes #1137 2016-07-26 01:30:22 -05:00
Rob Garrison
bd25372a72
Core: Url parser now ignores "www" & removed parsed flag
The filter widget finds "http" querys
2016-07-21 14:51:35 -05:00
Rob Garrison
d8b2b27ab6
Core: Add column count to debug log 2016-07-20 07:26:45 -05:00
Rob Garrison
e700b2a35a
Docs: Bootstrap needs jQuery <v3.0.0; also fix links 2016-07-20 03:03:14 -05:00
Rob Garrison
008b1e544a
Core: updateCache now ignores "remove-me" rows 2016-07-13 19:45:29 -05:00
Rob Garrison
288a06e6cf
version bump 2016-07-11 07:42:19 -05:00
Rob Garrison
6d78a900d0 Core: prevent undefined error in natural sort. See #1151 2016-07-08 12:41:59 -05:00
Rob Garrison
eb84f87d5a
version bump 2016-06-28 07:09:18 -05:00
Rob Garrison
ed17d4ba83 version bump, again 2016-06-15 11:24:52 -05:00
Rob Garrison
76306d475e version bump 2016-06-15 11:22:11 -05:00
Rob Garrison
a25bb65d27
version bump 2016-05-28 09:28:16 -05:00
Rob Garrison
164fdf9f9a
version bump 2016-05-16 19:09:45 -05:00
Rob Garrison
05ffe5ae29
Core & filter: minor organization of options 2016-05-10 12:44:48 -05:00
Rob Garrison
6d76080f8e
version bump 2016-05-01 15:33:35 -05:00
Rob Garrison
a7abfa4e11
version bump 2016-04-29 21:32:47 -05:00
Rob Garrison
77b503431c version bump 2016-04-11 16:04:30 -05:00
Rob Garrison
053553d4dd Core: duplicateSpan false now uses textExtraction
See http://stackoverflow.com/q/36449711/145346
2016-04-06 22:15:38 -05:00
Rob Garrison
9feb20551e version bump 2016-04-01 12:07:16 -05:00
Rob Garrison
fade388523 version bump 2016-03-18 10:38:01 -05:00
Rob Garrison
4d6c714a0c Core: Add debug warning when widget is added more than once 2016-03-02 08:12:24 -06:00
Rob Garrison
d74fd843e7 Core: Add debug warning when widget not found
See http://stackoverflow.com/a/35713348/145346
2016-03-02 07:58:55 -06:00
Rob Garrison
d089be2734 version bump 2016-03-01 23:00:22 -06:00
Rob Garrison
2f9fa35e55 Global: Replace array push functions in main loops 2016-02-21 21:47:59 -06:00
Rob Garrison
a234d31cba version bump 2016-02-15 13:15:22 -06:00
Rob Garrison
e2d2b472c6 Core: applyWidgetId properly accepts jQuery table element 2016-02-15 12:11:39 -06:00
Rob Garrison
bbe8be96c8 Core: remove id from widgets option prior to remove function. See #1155 2016-02-15 12:00:31 -06:00
Rob Garrison
bb7b57d0a1 version bump 2016-01-21 07:44:37 -06:00
Rob Garrison
01b531ee8e version bump 2016-01-15 07:52:22 -06:00
Rob Garrison
1046652c30 Core: Revert extra header class name updating. See #1116
c34f78f5da
2016-01-15 07:41:22 -06:00
Rob Garrison
d341783d0e Filter: Add filter_resetOnEsc option. See #1126 2016-01-14 22:18:48 -06:00
Rob Garrison
a0181a4337 version bump 2016-01-10 22:22:16 -06:00
Rob Garrison
c34f78f5da Core: Fix extra header class name updating. See #1116 2016-01-05 17:13:44 -06:00
Rob Garrison
1410e292ff Core: fix typo in comments 2015-12-22 10:22:36 -06:00
Rob Garrison
13068454c5 Core: add multiple widgets from table class. Fixes #1109 2015-12-22 10:19:10 -06:00
Rob Garrison
e76e540982 Core: fix time parser detection. See #1107 2015-12-18 17:45:55 -06:00
Rob Garrison
03db8eec0e version bump 2015-12-13 16:24:42 -06:00
Rob Garrison
60282f0787 Core & Filter: Add duplicateSpan option
Core:
- Added `duplicateSpan` option (default is `true`).
- Renamed `$.tablesorter.formatSortingOrder` to `$.tablesorter.getOrder`.
- Include `table` in console.error if an issue is encountered during
  initialization.
- Clean up warning when no parser is found for given data.
- Fix `config.sortVars` js error for non-existent header cells.
- Added unit tests.
- Added "example-colspan.html" demo.

Filter:
- Filters that span multiple columns now have the correct data-column set.
- Consolidated code that parsed data-column ranges into `findRange` function.
- Added unit tests
2015-12-13 16:23:48 -06:00
Rob Garrison
de414635e5 Core: prevent js error if widget doesn't exist 2015-12-13 06:32:37 -06:00
Rob Garrison
0953392cdb Core: trigger "sortBeforeEnd" for widget binding 2015-12-12 20:42:20 -06:00
Rob Garrison
5494d79953 Core & editable: ensure table initialized before using updateCell. See #1099 2015-12-10 23:03:34 -06:00
Rob Garrison
84d4f72ad3 Core: Add triggered removeWidget method & update docs
Docs for applyWidgetId also updated
2015-12-10 22:51:33 -06:00
Rob Garrison
a66267e6bf Core: Add applyWidgetId name to widgets option 2015-12-10 17:25:04 -06:00
Rob Garrison
fdd82f847e Core: applyWidgetId now properly initializes a widget 2015-12-10 17:13:05 -06:00
Rob Garrison
a9ec53ee19 Core: After init, computeColumnIndex adds "data-column" to mismatch indexes
This only occurs when the function is called externally and a `config`
parameter is passed to the function, otherwise a "data-column" attribute
is added to all cells. This change will minimize DOM manipulation.
2015-12-04 00:42:26 -06:00
Rob Garrison
d196092339 Core: fix cache debug log for multiple tbodies 2015-12-03 20:49:52 -06:00
Rob Garrison
6a738fb8bd Core: Fix updateCell issue
If "updateCell" is triggered on a thead cell, or bubbles to an outer table, tablesorter no longer gets stuck in an "isUpdating" loop
2015-12-01 19:56:02 -06:00
Rob Garrison
a8fb980153 Core: prevent js error - calling "applyWidgetId" on non-existant widget 2015-12-01 19:45:44 -06:00
Rob Garrison
87a10d6987 Global: Use triggerHandler to prevent event bubble to any outer table 2015-12-01 19:38:56 -06:00
Rob Garrison
78c23a0bc1 Core: show parsed data in debug log. See #1084 2015-12-01 08:14:19 -06:00
Rob Garrison
fe23f7c0c1 version bump 2015-11-22 22:05:06 -06:00
Rob Garrison
06faff7764 Core: while detecting parsers, use cssIngoreRow; stop after 50 rows 2015-11-22 21:24:21 -06:00
Rob Garrison
8f810ef4d9 Parser: date month - other added language data no longer removed 2015-11-20 23:09:47 -06:00
Rob Garrison
f4f398b48a Core: prevent "tablesorter-ready" from firing multiple times in a row 2015-11-14 22:26:08 -06:00
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