Commit Graph

1657 Commits

Author SHA1 Message Date
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
Rob Garrison
710929579e
currentSort: add currentSort widget. Fixes #1208 2016-07-26 02:45:24 -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
9afb1dfcea
Output: Add "url" parameter to output_callback function 2016-07-21 13:50:01 -05:00
Rob Garrison
2f80eb209f
ColumnSelector: Add max/min visible columns settings
See http://stackoverflow.com/q/38431814/145346
2016-07-20 21:06:52 -05:00
Rob Garrison
d1cca9670a
Filter: Add rowIndex to filter data 2016-07-20 17:22:32 -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
84180c1961
Scroller: update when "applyWidgets" is used 2016-07-18 17:24:48 -05:00
Rob Garrison
fe75d0ff7a
Filter: Allow es6 regex flags 2016-07-18 17:23:37 -05:00
Rob Garrison
eef60dc4af
UITheme: jQuery v1.12.0 renamed carat to caret. Fixes #1257 2016-07-16 10:44:27 -05:00
Rob Garrison
148a699e72
Math: add math_debug option 2016-07-13 20:51:33 -05:00
Rob Garrison
83b38fd419
Math: Add "data-math-target" attribute 2016-07-13 20:47:27 -05:00
Rob Garrison
008b1e544a
Core: updateCache now ignores "remove-me" rows 2016-07-13 19:45:29 -05:00
Rob Garrison
174d05c1dc
Grouping: prevent js errors on non-string values 2016-07-13 18:44:07 -05:00
Rob Garrison
c9e77837c1
Output: Automatically ignore widget added rows
e.g. Grouping widget headers
2016-07-13 11:04:51 -05:00
Rob Garrison
9ad47f1cd4
Filter: getFilters will always return an array. Fixes #1250
*breaking change* to the api
2016-07-12 15:33:11 -05:00
Rob Garrison
288a06e6cf
version bump 2016-07-11 07:42:19 -05:00
Justin F. Hallett
4e5add0052 Replace all instances not just the first one 2016-07-10 13:28:17 -06:00
Rob Garrison
1846199b77
Pager: Prevent setting "all" value before initialization. See #1196 2016-07-09 18:55:59 -05:00
Rob Garrison
e8b68272e2
Pager: prevent ajax call on init. See #1196
When `processAjaxOnInit` is false
2016-07-09 18:34:17 -05:00
Rob Garrison
c036d0dcda Grouping: fix group_collapsed behavior. See #1247 2016-07-08 12:41:59 -05:00
Rob Garrison
f7cf68b4ad Grouping: fix js error when storage isn't loaded 2016-07-08 12:41:59 -05:00
Rob Garrison
6d78a900d0 Core: prevent undefined error in natural sort. See #1151 2016-07-08 12:41:59 -05:00
Rob Garrison
e381c7e518 UITheme: modify filter row after filter init 2016-07-08 12:41:59 -05:00
Justin F. Hallett
ba319b6e1d trigger viewComplete in the view builder, not in init, otherwise you get no trigger when switching views 2016-07-07 10:39:46 -06:00
Justin F. Hallett
5006e71a3f Update to view widget, add a way to get the raw text value of a col without the span wrap 2016-07-06 10:38:17 -06:00
Rob Garrison
81a345964d
Scroller: save scroll position of window. See #1240 2016-07-01 17:31:40 -05:00
Rob Garrison
b48e3e3e09
ColumnSelector: check visibility of cells after colspan. See #1238 2016-06-29 20:19:20 -05:00
Rob Garrison
aec698e22c
Various: Oops, living a year in the past 2016-06-29 17:34:21 -05:00
Rob Garrison
70b882c44f
Filter: filter_hideFilters now accepts a function. See #477 2016-06-29 17:15:03 -05:00
Rob Garrison
67be1f86f3
Filter: Select2 properly escaped characters in regex 2016-06-29 16:14:47 -05:00
Rob Garrison
c51390d6bb
Filter: Select2 properly remove case-insensitive flag in regex 2016-06-29 15:57:43 -05:00
Rob Garrison
6e81e5e2cc
Filter: Select2 update after filter row rebuilt. See #1237 2016-06-29 07:39:37 -05:00
Rob Garrison
de54b36235
Filter: use uncached widgetOptions after inside events 2016-06-29 07:37:46 -05:00
Rob Garrison
9e6802d242
Filter: Select2 now adheres to case sensitivity setting. See #1237 2016-06-28 14:08:43 -05:00
Rob Garrison
eb84f87d5a
version bump 2016-06-28 07:09:18 -05:00
Rob Garrison
53bc869f3e
Filter: Do not return altered filters. Fixes #1237 2016-06-28 06:25:33 -05:00
Rob Garrison
7328732525
Pager: Fix filtered regex 2016-06-28 04:28:35 -05:00
Rob Garrison
a02d264e2d
Grouping: fix lint issue 2016-06-28 04:25:59 -05:00
Rob Garrison
eb80800d2b
Grouping: prevent JS error with ajax & filtering. Fixes #1232 2016-06-21 11:39:36 -05:00
Rob Garrison
7c1d4183c8
Resizable: adjust handles on pager complete 2016-06-20 12:17:14 -05:00
Rob Garrison
a1413a6015
Grouping: Use correct pager row indexing. Fixes #1232 2016-06-20 11:32:02 -05:00
Rob Garrison
ed17d4ba83 version bump, again 2016-06-15 11:24:52 -05:00