Commit Graph

830 Commits

Author SHA1 Message Date
Rob Garrison
f0426f80f4 Sort2Hash: Add sort2Hash_replaceHistory option 2017-08-31 21:35:00 -05:00
Alex Weissman
6fe2cdf810 Prevent sort2Hash from adding extraneous entries to browser history
Use `window.location.replace` to update the browser URL only, rather than `window.location.hash`, which modifies the browser history.
2017-08-31 21:13:05 -05:00
Rob Garrison
86e2b7c355 Grouping: Fix compatibility with columnSelector widget 2017-08-31 17:18:29 -05:00
Rob Garrison
6a663b5138 ColumnSelector: Fix compatibility with grouping widget 2017-08-31 17:17:54 -05:00
Rob Garrison
2854dc4340 StickyHeaders: only update class as needed. See #1018 2017-08-31 14:48:01 -05:00
Rob Garrison
4e54230321 Resizable: Add resizableComplete event. Fixes #1444 2017-08-31 14:22:00 -05:00
Rob Garrison
bb599df7d7 Scroller: Update scroll position after fixing columns 2017-08-31 13:52:23 -05:00
Lars
d79e688d63 Update widget-scroller.js 2017-08-31 13:34:20 -05:00
Lars
1b321aae40 Save position to fix scroller_upAfterSort=false
This should fix issue #1297 - The current position is now saved on scroll so it can be restored after sorting.
2017-08-31 13:34:20 -05:00
Rob Garrison
22b5598873 ColumnSelector: Add classHasSpan option 2017-08-26 20:16:53 -05:00
Rob Garrison
c800b67b6f Ui-theme: remove bootstrap v2 refs & fix docs. See #1432 2017-07-19 14:20:01 -05:00
Rob Garrison
eaec5db0f4 Output: bump version & add min 2017-07-05 13:44:27 -05:00
Justin F. Hallett
428cf7438c if call back is false, make sure we reset output busy flag so it can be called again 2017-07-05 10:48:43 -06:00
Justin F. Hallett
420e4221e3 Add 2 options parameters to output.process to call it directly with external data using $.tablesorter.output.process, this allows ajax users to use the output widget for all data via external calls. 2017-07-04 14:55:20 -06:00
Rob Garrison
c1c55c5688 v2.28.15 2017-07-04 12:56:45 -05:00
Rob Garrison
cae295975d ColumnSelector: Include tbody colspan updates on removal 2017-07-04 12:17:25 -05:00
Rob Garrison
1c65611c87 ColumnSelector: Remove colspan adjustments when widget removed 2017-07-04 11:59:53 -05:00
Rob Garrison
52e8c024b0 Filter: Fix namespacing of events 2017-07-02 16:07:24 -05:00
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
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
8dbd34ece6 v2.28.13 2017-06-02 17:49:41 -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
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
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
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
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
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
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
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
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
8c72f40236 Filter: restore filter_searchDelay function. See #1299 2016-11-22 14:29:52 -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
f8d0ba2495 ColumnSelector: updateAll properly updates the popup
See http://stackoverflow.com/q/39669948/145346
2016-09-23 22:45:21 -05:00