Commit Graph

1701 Commits

Author SHA1 Message Date
Rob Garrison
2668e0e773 Filter: Add namespacing to filter-formatter listeners
Needed to prevent JS error when a "resetToLoadState" is triggered
and the "filterFomatterUpdate" bindings are still firing.
2017-06-29 22:21:54 -05:00
Rob Garrison
243205c513 Sort2Hash: Compare hash filter 2017-06-25 14:34:31 -05:00
Rob Garrison
56e6e70a76 Sort2Hash: Fix p's 2017-06-25 14:16:56 -05:00
Rob Garrison
a773ac63ed Sort2Hash: prevent filter update if unchanged 2017-06-25 13:52:56 -05:00
Rob Garrison
d398c91f0f v2.28.14 2017-06-08 19:26:53 -05:00
Rob Garrison
5923ef0e0e Pager: use selectorRemove to remove error rows
Removes error rows with dynamically changed class names
2017-06-08 19:10:39 -05:00
Rob Garrison
e12785b92c Pager: apply fixedHeight patch to widget & code cleanup 2017-06-08 19:09:28 -05:00
Rob Garrison
23c94a726d Core: Show console error for mismatched column count. See #1415 2017-06-07 22:38:57 -05:00
Rob Garrison
8dbd34ece6 v2.28.13 2017-06-02 17:49:41 -05:00
Rob Garrison
086f4ad89c Core: coerce sort natural elements into strings. See #1415 2017-06-02 10:58:36 -05:00
Rob Garrison
bc07c45fa4 StickyHeaders: init with visible headers on partial scroll 2017-06-01 13:32:08 -05:00
Rob Garrison
9d27c66484 StickyHeaders: Fix dynamic updating of offset. Fixes #1412 2017-06-01 13:30:38 -05:00
Rob Garrison
ca16c8c232 Core: Add cssIconDisabled option. See #1409 2017-05-31 14:00:05 -05:00
Rob Garrison
c77d7b2d6e v2.28.12 2017-05-26 15:11:58 -05:00
Rob Garrison
7385ed4bf1 Filter: select searches process filter type, then exactly match
Previously only exact matches were performed by default, filter types
were ignored. This broke the filter + jQuery UI selectmenu demo
2017-05-26 15:06:28 -05:00
Rob Garrison
d4e35fc0f2 Misc: fix linting issues 2017-05-26 13:29:29 -05:00
Rob Garrison
17be0e31ea Filter: return null from filter_selectSource to prevent select updates
From discussion in IRC with @alexweissman
2017-05-26 13:26:36 -05:00
Rob Garrison
d095c63008 ColumnSelector: Don't clear container on updateAll. Fixes #1406 2017-05-25 05:10:33 -05:00
Rob Garrison
e3227a7af0 v2.28.11 2017-05-24 18:53:44 -05:00
Rob Garrison
0bac443942 CssStickyHeaders: Fix in Edge browser 2017-05-24 11:43:28 -05:00
Rob Garrison
2915bf9fda CssStickyHeaders: Fix captioned tables in Safari 2017-05-24 11:43:08 -05:00
Rob Garrison
333fa278ac Filter: liveSearch cleanup 2017-05-23 18:26:14 -05:00
Rob Garrison
265a6d06b6 Filter: trigger liveSearch on blur 2017-05-23 18:21:58 -05:00
Rob Garrison
8e3105bdb6 Columns: initialize after pager widget 2017-05-23 18:06:42 -05:00
Rob Garrison
264181e6a4 Filter: second attempt at #1152 2017-05-23 18:04:23 -05:00
Rob Garrison
0a18019581 Filter: attempt to fix #1152 2017-05-23 17:57:20 -05:00
Rob Garrison
30ee40c33f Pager: ensure ajax is called after filter widget initializes 2017-05-23 13:40:22 -05:00
Rob Garrison
f7a60232a8 Pager: allow ajax processing on init 2017-05-23 11:42:36 -05:00
Rob Garrison
6614fffe77 Parsers: update links to sugarjs/datejs demos 2017-05-22 06:30:43 -05:00
Rob Garrison
7f082fa019 v2.28.10 2017-05-16 15:33:15 -05:00
Rob Garrison
0c75f5f7d2 Parser: bind & update stickyHeaders checkbox. Fixes #261 2017-05-16 14:18:48 -05:00
Rob Garrison
cbb37f8b3f Core: Add namespace classname to table 2017-05-16 14:15:11 -05:00
Rob Garrison
96ad9d0130 Core: disable updateCell for child rows
Add warning & note to fix :(
2017-05-12 07:13:07 -05:00
Rob Garrison
91eb28d7f2 Parser: remove unused variables & add ignoreChildRow option 2017-05-12 07:12:16 -05:00
Andy Sleigh
cec3527f3f Prevent input select parser from handling events from child rows 2017-05-12 09:42:49 +01:00
Rob Garrison
48a327d6f6 v2.28.9 2017-05-03 17:22:27 -05:00
Rob Garrison
5e6c926d6b Core: Fix widget option changes across multiple tables
Seen in the second table of the math page demo with the
`math_ignore` option
2017-05-03 17:06:24 -05:00
Rob Garrison
74bfdb096b Math: include noop math_complete in defaults
Prevents option not recognized warning
2017-05-03 16:32:38 -05:00
Rob Garrison
72b45976d8 v2.28.8 2017-04-18 19:50:08 -05:00
Rob Garrison
23dd3ed796 Scroller: fix linting issue 2017-04-18 19:47:49 -05:00
Rob Garrison
b45daa1ad4 Storage: Add storage_storageType & deprecate
Deprecate `storage_useSessionStorage`
2017-04-18 19:41:37 -05:00
Rob Garrison
fb07b98f08 Storage: Add options early to prevent validator message 2017-04-14 12:57:40 -05:00
Rob Garrison
caf9445899 Resizable: Add resizable_includeFooter option. Fixes #1386 2017-04-14 12:56:22 -05:00
Rob Garrison
36986e12d2 Scroller: fix offset from hidden row. See #1376 2017-04-12 14:42:41 -05:00
Andy Sleigh
1b87904fe7 Fixed updateCell child row handling
cache[ c.columns ].$row doesnt need to be updated in updateCell.
2017-04-12 11:34:27 -05:00
Andy Sleigh
e44c239a81 Fixed updateCell to work correctly with child rows 2017-04-12 11:34:27 -05:00
Rob Garrison
07f9dd9f60 Pager: use equalFilters for comparison. See #1384 2017-04-11 14:57:33 -05:00
Rob Garrison
39a1772b25 Filter: Add equalFilters function 2017-04-11 14:55:50 -05:00
Rob Garrison
0827fa20d3 Scroller: set max-widget to initial. See #1382 2017-04-08 14:14:38 -05:00
Rob Garrison
b80d402fc3 v2.28.7 2017-04-04 05:16:26 -05:00
Rob Garrison
d79dd5a27b Filter: Prevent JS error added from last update. Fixes #1377 2017-04-04 05:11:00 -05:00
Rob Garrison
fd3869cbc8 Editable: remove "blur" event listeners. See #1360 2017-04-02 08:06:35 -05:00
Rob Garrison
105bf11564 Filter: add "filterAndSortReset" method. See #1361 2017-04-02 07:40:24 -05:00
Rob Garrison
f006d8aa5f v2.28.6 2017-04-02 06:34:02 -05:00
Rob Garrison
196bfd2d11 Core: applyWidget callback occurs after "tablesorter-ready" 2017-04-02 06:34:01 -05:00
Rob Garrison
440b3f01cb Core: Update widgets after sortReset. Fixes #1361 2017-04-02 06:33:49 -05:00
Rob Garrison
4f43c31b7c Pager: use "all" only when option exists. Fixes #1364 & #1366 2017-04-02 03:40:10 -05:00
Ruchir Patel
c6db0bc75d Fixed an issue that occurred when you try to download table data as CSV with multiple headers and Colspan greater than 3. It caused column header alignment problem when I export out. (#1373) 2017-03-30 14:24:40 -05:00
Rob Garrison
829e5a62b5 Pager: stop using combined filter values. See #1363 2017-03-28 14:21:58 -05:00
Rob Garrison
ea73eddab8 Filter: compare last search array. Fixes #1363 2017-03-28 13:45:59 -05:00
Rob Garrison
468222e493 Core: add fix it (in Abelt) note for #1362 2017-03-18 12:41:01 -05:00
Rob Garrison
c91ceeb5b1 Core: update column count after reset 2017-03-15 11:57:18 -05:00
Rob Garrison
6e46f7aecb Build: Stop build widget option warnings 2017-03-14 17:03:39 -05:00
Rob Garrison
eb0692dbc8 sort2Hash: Stop option warnings. Fixes #1369 2017-03-14 17:02:51 -05:00
Rob Garrison
0e2235fabc Core: Fix method of saving default widgetOptions. See #1356 2017-03-14 16:53:46 -05:00
Rob Garrison
3cd9882fc7 Parser: Add leading zero parser 2017-03-13 23:30:50 -05:00
Rob Garrison
98ae457aec Core: Prevent overwriting default widgetOptions. Fixes #1356 2017-03-07 05:23:03 -06:00
Rob Garrison
88d3e00c5e v2.28.5 2017-01-28 13:50:22 -06:00
Rob Garrison
96fcf013d3 Resizable: Add "resizableUpdate" & "resizableReset" methods 2017-01-28 13:28:28 -06:00
Rob Garrison
c2dbfd4769 Scroller: add scrollerComplete event. Fixes #1351 2017-01-28 13:08:03 -06:00
Rob Garrison
27bc982127 Output: remove console.log 2017-01-10 21:49:39 -06:00
Rob Garrison
7cc9508664 Output: Prevent multiple popups/download with dblClick 2017-01-10 21:48:23 -06:00
Rob Garrison
97784fac29 v2.28.4 2017-01-06 20:56:05 -06:00
Rob Garrison
0da52de497 Output: Add output_includeHeader option & docs. Fixes #1349 2017-01-02 07:26:33 -06:00
Rob Garrison
39430d5773 Output: Add output_savePlugin option & update download code 2017-01-02 05:33:30 -06:00
Rob Garrison
b0cae87010 Output: prevent error on output to open popup 2017-01-02 04:45:36 -06:00
Rob Garrison
1b43b04015 Pager: add data-attribute override on output. See #1348 2016-12-30 16:52:19 -06:00
Rob Garrison
7528607eb4 Pager: Restore check for new headers. Fixes #1343 2016-12-29 04:11:20 -06:00
Rob Garrison
6032b121f3 Pager: use option to target inner header 2016-12-16 17:51:05 -06:00
Rob Garrison
744b642bef Pager: fix rendering of sticky headers after ajax 2016-12-16 17:49:18 -06:00
Rob Garrison
822613ae4f StickyHeaders: reduce priority below pager widget
so it initializes before the pager
2016-12-16 17:20:02 -06:00
Rob Garrison
3165a50ebd Pager: (widget) make compatible with stickyHeaders. Fixes #1313
* Removed all references to stored pager.$goto and pager.$size
* Removed check if header text matches header length - this breaks
  when a header row has a "tablesorter-ignoreRow" class name.
* Add stickyHeader container to pager.$container in case the pager
  controls are inside the thead
2016-12-16 17:14:40 -06:00
Rob Garrison
09e5010be1 version bump 2016-12-16 04:30:38 -06:00
Rob Garrison
d2fedb97fb version bump 2016-12-15 15:43:33 -06:00
Rob Garrison
8c07fe24bc Scroller: cleanup from #1338 2016-12-15 06:28:28 -06:00
MAROT Loïc
51e9852de1 Adding style in <HEAD> tag not at the end of file (#1337)
Remove Audit warning from Chrome.
2016-12-15 05:56:00 -06:00
MAROT Loïc
26aae70367 Adding style in <HEAD> tag not at the end of file (#1338)
Remove Audit warning from Chrome.
2016-12-15 05:55:41 -06:00
Rob Garrison
2ec5ac80ff ColumnSelector: revert b9e89d4, add layoutCustomizer option. See #1335 2016-12-14 15:43:30 -06:00
Rob Garrison
b9e89d4962 ColumnSelector: Include HTML in empty headers. Fixes #1335 2016-12-14 13:00:51 -06:00
Rob Garrison
e5f41c4fdf ColumnSelector: target header column attr. Fixes #1238 2016-12-13 11:08:17 -06:00
Rob Garrison
85b8a9e481 version bump 2016-12-08 07:48:07 -06:00
Rob Garrison
300f436ec8 Filter: Fix liveSearch ignoring searchDelay. See #1299 2016-11-28 13:15:56 -06:00
Rob Garrison
96244332f1 Filter: Fix searchDelay & minimum character count. See #1299 2016-11-28 12:59:39 -06:00
Rob Garrison
466c303599 Print: use hasWidget function 2016-11-28 10:59:09 -06:00
Rob Garrison
793a59d83d ui-theme: use hasWidget function; fixes #1327 2016-11-28 10:58:54 -06:00
Rob Garrison
920dd01baa Fix lint issues & version bump 2016-11-26 19:40:00 -06:00
Rob Garrison
5a6d0ae3cb Core: Fix option validator issues 2016-11-26 19:31:42 -06:00
Rob Garrison
b093f5af60 Core: maintain original settings on resetToLoadState 2016-11-26 18:43:07 -06:00
Rob Garrison
4ae7ce24d8 Core: Add option validator. Fixes #1319 2016-11-26 11:06:30 -06:00
Rob Garrison
4053331c13 Pager: set ariaDisabled property to stop Edge crash. Fixes #1303 2016-11-26 09:57:00 -06:00
Rob Garrison
12cde473d3 Math: Remove math_prefix content prior to parsing cell values 2016-11-26 05:25:43 -06:00
Rob Garrison
0686e554d8 Math: Fix prefix/suffic option names & processing. Fixes #1305 2016-11-26 05:25:42 -06:00
Rob Garrison
f149719022 Core: include extra headers when adding unsorted class. Fixes #1306 2016-11-24 07:36:01 -06:00
Rob Garrison
8c72f40236 Filter: restore filter_searchDelay function. See #1299 2016-11-22 14:29:52 -06:00
Rob Garrison
b0c643e85c Core: return value from getColumnData if not an object 2016-11-18 04:59:59 -06:00
Rob Garrison
e5c96b9b18 SortTbodies: add option & docs; see #1312 2016-11-18 04:56:03 -06:00
Chris Rogers
43979d44d9 Tbodysort widget enhancement. (#1312)
* Enhancement/LockTbodyHeader

Added two new variables to hold the lockhead option and the head row class (defined in cssHeader).
If the new widget option 'sortTbody_lockHead' is true, the header row will be moved back to the top of the <tbody> after sorting, this is intended to be used with the 'sortTbody_sortRows' option set to true.
This will allow the <tbody> and it's child rows to be sorted while keeping the header row at the top of the <tbody>.

* The new lockHead option now used the `sortTbody_primaryRow` value instead of the `cssHeader` value.
This means the new widget option can be used out-of-the-box, meaning the user won't need to change any default parameters in the js files.

* Changed setting to test old code.

* Roll back to master version.

* Widget sortTbodies
  - Removed `lockHead` var since it's only used once
  - Ammended `sortEnd` condition
2016-11-17 11:30:28 -06:00
babaevmm
34c48c4cf7 Update widget-grouping.js
//add first() for groping with childRows
				data.$row.first().before( tsg.groupHeaderHTML( c, wo, data ) );

If a group with child rows (tablesorter-childRow), then inserted two headers once- for main row and for child. Add the first() function before before() operation for solve this problem.
2016-10-10 11:58:19 +03: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
f8d0ba2495 ColumnSelector: updateAll properly updates the popup
See http://stackoverflow.com/q/39669948/145346
2016-09-23 22:45:21 -05:00
Rob Garrison
570d3c0c30 version bump & misc cleanup 2016-09-23 11:45:10 -05:00
Rob Garrison
7e11139496 Pager: maintain pageDisplay ID if one exists. Fixes #1288 2016-09-22 21:09:18 -05:00
Rob Garrison
0161acff0a
Filter: add support for descending sort on selectSource values 2016-09-09 07:01:51 -05:00
Rob Garrison
1214f2bfdd
Pager: Add output function support to pager widget. See #1283 2016-09-09 06:30:00 -05:00
Rob Garrison
daa7cfa89c Filter: Include "input" event for searches. See #1280 2016-09-06 07:29:53 -05:00
Rob Garrison
1710f5c25b Core: Remove space from debug message 2016-09-06 07:29:53 -05:00
Jan S. (Milania1)
3a5b135fc7 RepeatHeaders: repeat html content instead of only text 2016-09-06 10:14:00 +02:00
Rob Garrison
7610c19813
Core: Include version in the log 2016-09-05 12:16:24 -05:00
Rob Garrison
f9dcd05b1f
Mark: Remove internal case matching 2016-09-05 09:12:34 -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
92c4adb3a8
Grouping: Add "group-date-hour" group type 2016-08-31 13:22:12 -05:00
Rob Garrison
a1f4ca14df
Mark: Add mark_tsIgnore option. See #1243 2016-08-30 16:52:07 -05:00
Rob Garrison
d9a4597aee
Mark: Apply marks after pager complete. See #1243 2016-08-30 11:28:35 -05:00
Rob Garrison
eadc89846f
Parser: header checkbox remains unchecked when table is hidden. Fixes #1090 2016-08-24 12:06:42 -05:00
Rob Garrison
27a931e785
version bump 2016-08-22 10:41:07 -05:00
Rob Garrison
e95d4d63c7
Parser: Fix jsHint issue 2016-08-21 09:50:50 -05:00
Rob Garrison
80bc854e68
Filter: Add any match search by column text 2016-08-21 09:50:02 -05:00
Rob Garrison
9aebc10050
version bump 2016-08-18 14:43:50 -05:00
Rob Garrison
45a2abcfd9
Docs & parser: Update sugar library v2.0+. Fixes #1275 2016-08-18 14:37:15 -05:00
Rob Garrison
fca6ef2652
verion bump 2016-08-17 12:48:51 -05:00
Rob Garrison
67a538a495
Filter: filter_liveSearch now accepts an object 2016-08-17 12:34:11 -05:00
Rob Garrison
e764dd0302
Pager: use ajax flag when calculating filtered rows 2016-08-17 12:04:28 -05:00
Rob Garrison
6fcade5fd5
Core: getColumnData now allows falsy values 2016-08-17 12:01:04 -05:00
Rob Garrison
5661c130a4
Filter: Add delay to "filterFormatterUpdate". See #1237 2016-08-09 13:53:38 -05:00
Rob Garrison
bb04e8a584
version bump 2016-08-02 14:56:10 -05:00
Rob Garrison
ff2d6e9c80
Mark: Actually include options this time! See #1243 2016-08-02 14:04:51 -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
5a85e47107
ColumnSelector: Fix undefined variable 2016-07-31 21:08:48 -05:00
Rob Garrison
ef42f0dcd9
Mark: Fix linting issues 2016-07-31 21:08:05 -05:00
Rob Garrison
1a733a78b7
version bump 2016-07-31 20:48:27 -05:00
Rob Garrison
85c5cf2212
Filter: selected column query works again. Fixes #1267
Broken since a6b25ae4c0
2016-07-28 17:44:40 -05:00
Rob Garrison
cb1523ddc3
ColumnSelector: Fix incorrect option
DERP x2!
2016-07-28 15:46:58 -05:00
Rob Garrison
cbedde4641
ColumnSelector: Fix null comparison
DERP!
2016-07-28 15:43:57 -05:00
Rob Garrison
76f85018d8
ColumnSelector: Set state to null for disabled columns
Fixes JSON issues with not storing "undefined" values
2016-07-28 15:36:55 -05:00
Rob Garrison
ff754c177e
Filter: trigger filterFormatters after update. See #1237 2016-07-27 21:31:06 -05:00
Rob Garrison
04f23cebb5
Mark: Add mark widget. Fixes #1243 2016-07-27 18:51:55 -05:00
Rob Garrison
2a249b4ebd
StickyHeaders: add appendTo option 2016-07-26 02:46:32 -05:00