Commit Graph

769 Commits

Author SHA1 Message Date
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
d6ff627aee Math: math_none can now be set to an empty string 2015-12-13 06:56:38 -06:00
Rob Garrison
12af874e88 Docs: math doc updates 2015-12-13 06:39:30 -06:00
Rob Garrison
fb16792adf Math: fix data-math-filter error. See #1083 2015-12-13 05:52:45 -06:00
Rob Garrison
4e1c96d437 Math: lots of tweaks. See #1083
- Initial calculation performed once - changed binding to either "filterEnd"
  or "pagerComplete", not both.
- Added change flag so a cache update is only performed when cell content
  inside of a sortable tbody was modified.
- Fix data-math-filter on "all" cell calculation with fixes to getRow &
  getColumn functions so that filters get priority over the "filtered" row
  check.
2015-12-12 20:42:34 -06:00
Rob Garrison
3ada0de10a Docs: add note filter localization - escaping regex characters. See #1101 2015-12-12 20:42:33 -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
de4c3db1ad Docs: Add note that reflow widget only works with HTML5 2015-12-08 13:07:17 -06:00
Rob Garrison
1bb9a5d1b2 Math: Limit tbody cell processing & use cellIndex whenever possible. See #1048 2015-12-04 00:48:41 -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
f6012b4e76 Docs: Fix search tooltip not hiding on menu close 2015-12-03 21:26:19 -06:00
Rob Garrison
29af6f0ade Docs: update to Bootstrap v3.3.6 2015-11-25 17:55:06 -06:00
Rob Garrison
8a3c315f0c Math: Add "data-math-filter" override of math_rowFilter. See #1083 2015-11-23 23:29:33 -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
8967627713 Math: add rowFilter option. See #1083 2015-11-22 16:22:05 -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
d1ba6178d7 Docs: minor updates 2015-11-09 20:00:01 -06:00
Rob Garrison
bf98c96265 Parser: Add file-extension parser 2015-11-09 15:09:12 -06:00
Rob Garrison
2281786f11 Docs: fix mixed content issue, broken links & other stuff 2015-11-09 13:11:10 -06:00
Rob Garrison
08735db313 Pager: clear tbody prior to calling ajaxProcessing 2015-11-09 11:42:42 -06:00
Rob Garrison
00daa3d148 Docs: Clarify output saveRows option usage. See #1070 2015-11-09 10:51:14 -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
ac0356cf07 Docs: update note 2015-11-08 20:51:37 -06:00
Rob Garrison
65867145df Sort2Hash: Add 2 utility functions to simplify hash processing 2015-11-08 20:47:30 -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
0394e24f1c Docs: update group_formatter docs - see #1077 2015-11-06 13:31:37 -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
66aede3654 Group: add optimizations from pull #830 2015-11-02 01:21:29 -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
b2ae0d194d Print: rows option now accepts custom css selectors 2015-11-01 12:06:39 -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
cf542ac75f Group: Update header in pager with removeRows:true. Fixes #1035 2015-10-28 15:48:16 -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
093ba477ce View: cleanup & merge 2015-10-26 12:16:52 -05:00
Rob Garrison
30a83b01df Pager: fix pager widget demo destroy method 2015-10-26 11:01:33 -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
Justin F. Hallett
006496abb4 Finish the documentation and example 2015-10-26 09:26:35 -06:00
Justin F. Hallett
6c0fa3bdcf Add Widget View, start on the documentation 2015-10-26 09:06:56 -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
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
4310107043 Docs: include horizontal scroll while jumping to search result 2015-10-21 06:58:48 -05:00
Rob Garrison
25ba9f3860 Docs: update stickyHeaders after menu close 2015-10-20 21:31:17 -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
9d7f0fb26c ColumnSelector: Add mediaqueryHidden option. Resolves #964 2015-10-19 11:49:21 -05:00
Rob Garrison
cc384666b5 Docs: Add theme class to tables to prevent FOUC 2015-10-17 17:47:41 -05:00
Rob Garrison
c7d4395c85 Math: Include config parameter in math equations
Fixes javascript error
2015-10-17 10:05:55 -05:00
Rob Garrison
be69ff58a7 Math: Add math_none option 2015-10-14 21:20:49 -05:00
Rob Garrison
88ebaab37e Docs: clarify use of pager ajaxUrl option & add link to UserFrosting 2015-10-08 12:00:07 -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
X O
59bc4d01c5 Fixed spelling mistake 2015-09-26 07:04:49 -05:00
X O
b919a9a73d Fixed spelling mistake 2015-09-26 07:04:38 -05:00
Mottie
ecb2fa47c3 Docs: add reset button to newest demo 2015-09-23 22:50:15 -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
e5bed877ab Docs: dateFormat correction 2015-08-31 22:55:18 -05:00
Mottie
41fb194559 Grouping: add group_forceColumn & group_enforceSort options. See #1000 2015-08-24 10:50:07 -05:00
Mottie
aa315b1e88 Docs: add parsed values function no longer wraps empty content 2015-08-23 07:16:01 -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
1d1e4d72f8 Editable: improve column parsing. Fixes #982 & #979
Also replace jQuery each functions
2015-07-30 20:26:59 -05:00
Mottie
12e82fd46e Docs: update theme switcher urls 2015-07-30 14:57:22 -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