Commit Graph

536 Commits

Author SHA1 Message Date
Rob Garrison
b40693a954 ColumnSelector: Prevent refresh error. See #1145 2016-01-28 08:00:51 -06:00
Rob Garrison
554a135e13 Docs: show actual theme names 2016-01-27 21:21:49 -06:00
Rob Garrison
d38fb26191 Pager: add initialRows option; use with false processAjaxOnInit
See http://stackoverflow.com/q/34972532/145346
2016-01-24 10:10:58 -06:00
Rob Garrison
01b531ee8e version bump 2016-01-15 07:52:22 -06:00
Rob Garrison
f26b25c771 Docs & test: Add jQuery 3.0.0-beta for testing 2016-01-15 07:39:40 -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
d59befbbf3 Filter: fix "or" test regex. Fixes #1117 2016-01-10 21:04:19 -06:00
Rob Garrison
fa45fea896 Output: output_callback can now return modified data. Fixes #1121 2016-01-10 18:43:53 -06:00
Rob Garrison
5992cb6649 Docs: add html hint & fix issues 2016-01-10 18:00:36 -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
84d4f72ad3 Core: Add triggered removeWidget method & update docs
Docs for applyWidgetId also updated
2015-12-10 22:51:33 -06:00
Rob Garrison
ab07e59b8f Filter: prevent insideRange searches on "all" columns 2015-12-10 20:09:51 -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
9b02a23890 Docs: add reference to datejs parser. See #1084 2015-11-23 10:22:03 -06:00
Rob Garrison
fe23f7c0c1 version bump 2015-11-22 22:05:06 -06:00
Rob Garrison
c10d4a334f Parser: Add alternate date range parser & update filter insideRange 2015-11-20 23:14:02 -06:00
Rob Garrison
7e7a57d212 Print: Add print_now option. See #1081 2015-11-17 13:45:00 -06:00
Rob Garrison
2cb01b4ec2 Docs: update utility option section 2015-11-14 22:17:29 -06:00
Rob Garrison
a203ac5f52 version bump 2015-11-10 15:27:30 -06:00
Rob Garrison
7069c226be Docs: Add filter + jQuery UI Selectmenu demo. See #1060 2015-11-10 14:42:16 -06:00
Rob Garrison
f51b39388a Filter: selectSource option now accepts an array of objects 2015-11-10 14:40:26 -06:00
Rob Garrison
bf98c96265 Parser: Add file-extension parser 2015-11-09 15:09:12 -06:00
Rob Garrison
08735db313 Pager: clear tbody prior to calling ajaxProcessing 2015-11-09 11:42:42 -06:00
Rob Garrison
2ac96256ac Docs: Add clarification & missing possible values. See #1070 2015-11-09 07:01:24 -06:00
Rob Garrison
abc9a376d2 Docs: more sort2Hash doc updates 2015-11-08 21:56:29 -06:00
Rob Garrison
60ea78eea6 Toggle: Add widget to enable/disable sort & filter 2015-11-08 10:45:25 -06:00
Rob Garrison
57779698f5 Docs: updates 2015-11-08 10:38:23 -06:00
Rob Garrison
93514b80f4 HeaderTitles: update aria-label usage 2015-11-08 08:42:23 -06:00
Rob Garrison
9bf590edb8 Core: Add sortDisabled language setting; used in aria-labels 2015-11-08 08:36:13 -06:00
Rob Garrison
0c99d0c6e3 version bump 2015-11-04 20:15:37 -06:00
Rob Garrison
f12049f879 Filter: setFilter "apply" parameter now defaults to true. See #1071 2015-11-04 19:42:29 -06:00
Rob Garrison
9bfde43c8f version bump 2015-11-02 10:50:31 -06:00
Rob Garrison
4fc923ec78 Parsers: globalization tweaks & new parser
Make month & weekday Globalize ready.
globalization parser now caches the Globalize object in a "Globalize" option
Add "weekday-index" parser
Update demos
2015-11-02 01:19:44 -06:00
Rob Garrison
1d813bd766 version bump 2015-10-31 11:06:09 -05:00
Rob Garrison
b31f786caa Sort2Hash: update to include pager & filter parameters 2015-10-31 10:20:14 -05:00
Rob Garrison
3b023da7be Docs: add some examples 2015-10-30 15:26:37 -05:00
Rob Garrison
2ca475ab8a ColumnSelector: Extra rows & colspans now supported in thead & tfoot. Fixes #501 2015-10-27 11:45:43 -05:00
Rob Garrison
d77ca61605 Merge branch 'viewWidget' 2015-10-26 12:18:22 -05:00
Rob Garrison
7fa7907953 Parser: Globalize parser now allows a different language per column 2015-10-26 10:56:01 -05:00
Justin F. Hallett
8a91e8e7ef Add View Widget to index 2015-10-26 09:30:26 -06:00
Rob Garrison
612c76e5ee Pager: add "all" setting for pageSize. See #1055 2015-10-25 20:55:48 -05:00
Rob Garrison
e3d2fd9a17 Group: Improve compatibility with jQuery Globalize
Added `group_time24Hour` & `group_dateInvalid` options

Modified `group_months`, `group_week` and `group_time` options.
2015-10-25 20:10:43 -05:00
Rob Garrison
a1c9e95639 Lazyload: add lazyload widget 2015-10-25 19:52:32 -05:00
Rob Garrison
035a394459 Core: Add "tablesorter-ready" event 2015-10-22 15:10:05 -05:00
Rob Garrison
48e1659b73 Docs: fix left menu push 2015-10-20 21:25:13 -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
d5a9fb6f81 Core: add rowFilter parameter to getColumnText 2015-10-19 20:54:56 -05:00
Rob Garrison
cc384666b5 Docs: Add theme class to tables to prevent FOUC 2015-10-17 17:47:41 -05:00
Rob Garrison
701ad94308 Merge branch 'LvLynx-master' 2015-10-06 20:55:51 -05:00
Rob Garrison
01442edbf2 Math: merge in #1027 & tweak changes 2015-10-06 20:54:01 -05:00
Alexis Tyler
b40d72a8ac Fixes mixed content 2015-10-05 23:27:24 +10:30
Rob Garrison
40dcaace25 version bump 2015-10-04 09:26:07 -05:00
Rob Garrison
f540158ca7 Docs: move script to page bottom 2015-10-03 22:08:39 -05:00
Mottie
a20e2868a0 Docs: add note data-attribute values added to both parsed & raw data. Closes #983 2015-09-26 08:47:38 -05:00
Mottie
f7b9e1f914 Docs: add instructions on how to use new filter option 2015-09-23 10:54:39 -05:00
Mottie
1aa87e2080 Filter: add filter_childWithSibs option. Fixes #1020 2015-09-23 07:50:45 -05:00
Mottie
3328f02579 Filter: add processOptions function & code cleanup. See #1010 2015-09-07 15:47:16 -05:00
Mottie
829d3792fa version bump 2015-09-01 10:45:24 -05:00
Mottie
41fb194559 Grouping: add group_forceColumn & group_enforceSort options. See #1000 2015-08-24 10:50:07 -05:00
Mottie
90e0355b4a ColumnSelector: add columnSelector_updated option
This option contains the triggered event name, which is "columnUpdate" by default
2015-08-21 16:58:21 -05:00
Mottie
47de48ef5d Filter: allow dynamically changing "anyMatch" filter. Fixes #998
previously, once an anyMatch type filter was found, it's value was always used to do an anyMatch search. Now the script checks to see if the input is targeting more than one column
2015-08-21 14:00:04 -05:00
Mottie
2281b8f2fb version bump 2015-08-19 18:20:27 -05:00
Mottie
d1e9530bcf Pager: include settings parameter from ajaxError method & prevent js error. Fixes #997 2015-08-19 16:33:32 -05:00
Mottie
c602ca7f01 Docs: update labels of modified code, widgets & parser. 2015-08-18 07:56:02 -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
e8bc2bef2e ColumnSelector: modify refreshColumnSelector method. Fixes #985
The "refreshColumnSelector" method can now update the contents of the container in case the header text, column priorities, etc change
2015-08-16 22:46:22 -05:00
Mottie
53ebab4c30 Docs: update ajaxError pager widget equivalent 2015-08-15 11:08:42 -05:00
Mottie
be6999c67a Pager: add ajaxError callback function. Fixes #992 2015-08-15 10:56:42 -05:00
Mottie
7a288dd1bf Pager: change enable, disable & destroy trigger methods. Fixes #980 2015-07-30 13:32:54 -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
2967e6196c Sort2Hash widget added
See http://stackoverflow.com/q/31377639/145346
2015-07-13 12:41:18 -05:00
Mottie
24231dbe69 Docs: fix validation issues 2015-06-26 12:04:09 -05:00
Mottie
449b985c60 Filter: add nesting of "AND" & "OR" searches. Fixes #891 & #918 2015-06-12 21:02:26 -05:00
Mottie
5608727c80 SortTbodies: add new widget. Fixes #195 & #833 2015-06-10 20:35:37 -05:00
Mottie
dda8b8d76c Output: output_saveRows now accepts jQuery filter selectors 2015-06-07 18:55:12 -05:00
Mottie
009ce272bb Core: updateCache now accepts tbody object
needed for tbody sorter widget
2015-06-07 17:02:42 -05:00
Mottie
13a035cad0 Parser: add checkbox parser class name ("checkboxClass") option 2015-06-05 13:16:36 -05:00
Mottie
60de268ab4 Docs: update information about cssIgnoreRow. See #911 2015-05-20 08:00:52 -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
00c32a1774 Docs: various fixes 2015-05-17 13:53:30 -05:00
Mottie
ee9c301edb Core: add "ō" to sortLocaleCompare & update docs 2015-05-16 15:33:09 -05:00
Mottie
618a4a01fe Themes: Fix Bootstrap v2.x theme & add demo 2015-05-16 15:30:59 -05:00
Mottie
9a67c022c4 Filter: add filter_childByColumn option. Fixes #396 & #574 2015-05-14 21:32:41 -05:00
Mottie
e8f0a07f60 Docs: cuwreck speling & add default pager options 2015-05-11 18:43:03 -05:00
Mottie
0824754f8c Docs: minor updates 2015-05-06 16:13:44 -05:00
Mottie
b591583669 Filter: add data parameter to filter_functions. See #891 2015-05-05 23:44:06 -05:00
Mottie
de9421bda8 Parsers: Add jQuery Globalize parser
Fix input-numeric parser to allow parsing a zero value
2015-05-02 15:15:56 -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
bdcf28ab47 Scroller: remove pointer-events none from fixed column. See #878 2015-04-23 08:13:06 -05:00
Mottie
4c2695030b Resizable: refreshing the widget will now preserve the storage. See #874 2015-04-16 10:07:25 -05:00
Mottie
9bee1805b2 Math: fix issues with isNaN("") = false. See #873 2015-04-16 07:52:33 -05:00
Mottie
a49e94e6fe Docs: update output widget docs 2015-04-08 13:10:16 -05:00
Mottie
51c616997b Docs: add missing updates 2015-04-08 00:32:59 -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
3ee06dceb6 Docs: Add missing update 2015-03-26 11:26:35 -05:00
Mottie
d8abaadc29 Storage: add a bunch of storage widget options. Fixes #851 2015-03-25 20:24:35 -05:00
Mottie
673d7cbbb5 Resizable: major overhaul! Now compatible with stickyHeaders 2015-03-25 20:24:28 -05:00
Mottie
a09f151104 Scroller: Add fixed column support. Fixes #135
Also #689, #763 and #804
2015-03-25 12:09:29 -05:00
Mottie
90909a6f52 Pager: make pagerUpdate method page parameter optional 2015-03-25 11:16:55 -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
1eec5e86f8 Dist: update distribution folder & doc version #s 2015-03-24 15:16:30 -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
6aca406386 update doc index 2015-03-20 07:59:52 -04:00
Mottie
53694db90b version bump 2015-03-10 12:05:02 -05:00
Mottie
1d3f61faca Docs: remove initial sort on first example 2015-03-08 09:32:30 -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
4f3a7bc470 Output: add output_includeFooter option
See http://stackoverflow.com/q/28711187/145346
2015-02-25 13:12:51 -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
c18d927d2c Scroller: add missing tfoot rows. Fixes #825 2015-02-24 01:21:58 -06:00
Mottie
68d6364a03 StickyHeaders: works with full height wrapper. Fixes #564 2015-02-24 00:04:52 -06:00
Mottie
7435c09379 Filter/parser: add insideRange file & add date range parsers 2015-02-24 00:00:52 -06:00
Mottie
f16466f924 Docs: update download methods 2015-02-23 23:58:08 -06:00
Mottie
1972857048 Filter: add config parameter to filter functions 2015-02-23 22:28:14 -06:00
Mottie
146a5ff2ea Grunt build: Use string replace to update version # 2015-02-20 18:48:25 -06:00
Mottie
1f6b343eb9 Rename distribution minified blackice theme. See #785 2015-02-20 17:57:57 -06:00
Mottie
fbc5c01c6a Filter: add filter_columnAnyMatch option
tweak anymatch code & added examples to the demo
2015-02-20 16:26:15 -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
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
07f58cccad Merge branch 'working' into build 2015-02-13 06:57:49 -06:00
Mottie
664694df27 Docs: update jQuery UI & remove "latest" from file name 2015-02-13 06:56:45 -06:00
Mottie
2774abf8d8 Build: Add grunt build process
Rearranged, renamed & broke apart other files
2015-02-12 21:10:38 -06:00
Mottie
4ca95358c4 Docs: Add css row & column highlighting demo 2015-02-11 13:18:04 -06:00
Mottie
c4a84f3dd5 version bump 2015-02-09 18:44:47 -06:00
Mottie
624af67ab0 StaticRow: add staticRow_event option 2015-02-09 17:13:21 -06:00
Mottie
1de9c46e30 Math: add math_event option 2015-02-09 17:13:21 -06:00
Mottie
fec49e144a Core: save raw table cell data 2015-02-09 15:23:51 -06:00
Mottie
9b32f0c5f6 version bump 2015-02-07 00:46:44 -06:00
Mottie
f6b33cc367 Docs: updates & removed some widgets from beta 2015-02-06 23:04:28 -06:00
Mottie
48d6ba5007 Charts: Add chart_event option, provide other data formats & add demo 2015-02-06 22:48:21 -06:00
Mottie
485b515066 Dragtable: make compatible with other widgets 2015-02-06 11:51:13 -06:00
Mottie
fe81a867fc Pager: update widgets & fire pagerComplete after cache is built 2015-02-05 13:06:18 -06:00
Mottie
a4160e55cc Docs: add getColumnData info & spelling corrections 2015-02-05 11:32:49 -06:00
Mottie
f9e4f9d4d5 Parser: add countdown parser (hh:mm:ss) 2015-02-04 22:15:00 -06:00
Mottie
0e72504e87 Formatter: Add table cell formatting widget. See #812 2015-02-04 15:41:27 -06:00
Mottie
8ff560e00f Docs: clarify difference between jQuery data & data-attributes 2015-02-03 13:30:28 -06:00
Mottie
b1526cee69 Merge branch 'master' into working
Conflicts:
	docs/index.html
2015-02-02 11:07:43 -06:00
prijutme4ty
2990013dbf minor fixes to documentation 2015-02-02 16:42:21 +03:00
Mottie
cedbf81c9c Print: ignore columnSelector auto setting when mediaquery option is disabled. Fixes #808
Replace columnSelector popup button element with a div because it doesn't work in Firefox - see http://jsfiddle.net/2tt25hbd/
2015-01-29 14:12:54 -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