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
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
da184889aa
Docs: remove saveSort from sort2Hash demo
2015-07-21 21:40:15 -05:00
Mottie
9b6f8fb379
sort2Hash: add text & saveSort override options. Fixes #962
...
* Add `sort2Hash_useHeaderText` - use column header text or zero-based index
* Add `sort2Hash_processHeaderText` - extra column header text processing
* Add `sort2Hash_directionText` - sort direction text array
* Add `sort2Hash_overrideSaveSort` - override saveSort stored sort if true
2015-07-21 21:33:52 -05:00
Mottie
7d21962a03
Docs: minor fixes
2015-07-21 17:03:43 -05:00
Mottie
19e914fbb3
Output: Add output_formatContent
callback
...
See http://stackoverflow.com/q/31457323/145346
2015-07-17 13:13:32 -05:00
Mottie
8e5f1f391e
Docs: improve two digit year parser demo
2015-07-17 12:16:14 -05:00
Mottie
de8f60172c
Docs: change deprecated window load function
2015-07-14 21:17:57 -05:00
Mottie
92eaecd07e
Docs: update to jQuery v1.11.3
2015-07-14 21:16:27 -05:00
Mottie
262b87c999
Docs: Add resizable widget note about widthFixed:false
. See #958
2015-07-13 19:10:34 -05:00
Mottie
2967e6196c
Sort2Hash widget added
...
See http://stackoverflow.com/q/31377639/145346
2015-07-13 12:41:18 -05:00
Mottie
2833b9b639
Docs: remove duplicate section in math widget demo
2015-07-13 12:40:29 -05:00
Mottie
4c63512574
Editable: update cache without requiring hover over thead
...
Will now properly update the cache on touch devices
2015-06-26 21:57:32 -05:00
Mottie
fa3c21f1c6
Resizable: resizing works with overflow wrapped tables. Fixes #953
2015-06-26 21:26:44 -05:00
Mottie
24231dbe69
Docs: fix validation issues
2015-06-26 12:04:09 -05:00
Mottie
482586bd8a
Editable: allow Shift+Enter to create a new line
2015-06-26 10:39:40 -05:00
Mottie
14bb009de6
Docs: minor corrections
2015-06-26 07:26:10 -05:00
Mottie
7b6ebfa639
Scroller: correct column alignment. Fixes #940 , #937 , #931 & #927
...
Bonus fix #932 which maintains scroll position after sort/filter
2015-06-21 10:39:37 -05:00
Mottie
36406468be
Docs: update Bootstrap to v3.3.5
2015-06-19 16:19:05 -05:00
Mottie
fbd1464772
Docs: more optimization
2015-06-19 07:49:18 -05:00
Mottie
a2587cab28
Docs: optimize code example
2015-06-19 07:38:16 -05:00
Mottie
73f5467c1f
Parser: support metric base unit case insensitivity
2015-06-17 16:38:27 -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
caf7432a3c
Docs: minor tweak
2015-06-10 20:00:31 -05:00
Herst
ebec6e9105
Docs: improve bootstrap example in column selector docs
2015-06-08 19:21:35 +02:00
Mottie
64a3e4a902
Output: fix hiddenColumns option causing empty output. Fixes #923
2015-06-08 10:51:32 -05:00
Mottie
e5ff5bb842
Docs: include .filtered {display:none} in custom themes
2015-06-07 19:05:39 -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
1fb45130ce
Scroller: reduce init lag & correct no fixed column tbody width. See #906
2015-06-01 20:29:22 -05:00
Mottie
7f9258f1e1
Output: allow empty string data-attributes. See #923
2015-06-01 16:29:59 -05:00
Mottie
bbe5d53e14
Scroller & columnSelector: integrate widgets. Fixes #905
2015-05-28 11:44:25 -05:00
Mottie
7c46c9e02e
Scroller: lots of updates
...
* Support multiple tbodies. See #906
* Limit horizontal scrollbar to scrolling section
* Removed widthFixed requirement
* Update RTL support
* Fix column alignment. Fixes #913
* Fix mousewheel scrolling in Firefox. See #135
* Fix filter returning zero to few rows
* Integrate with pager. Fixes #884
2015-05-28 11:36:37 -05:00
Mottie
1554b6ae99
Scroller: Multiple tbody fix. See #913
...
* Removed global window resizeEnd variable
* Removed or completely hide extra elements in fixed column
* Hover highlight delays only added for Firefox
* Properly adjust fixed column cell widths
* I know, not an atomic update :(
2015-05-22 23:16:41 -05:00
Mottie
1880d775ef
resizable + stickyHeaders: replace window resize trigger. Fixes #912
2015-05-21 18:34:59 -05:00
Mottie
60de268ab4
Docs: update information about cssIgnoreRow. See #911
2015-05-20 08:00:52 -05:00
Mottie
3bdf944e8b
Docs: update trigger sort method
2015-05-18 07:56:18 -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
1a6cc91e91
Scroller: add scroller_addFixedOverlay option
2015-05-17 12:42:19 -05:00
Mottie
ef8d85c4d0
Docs: Add build table example HTML for json
2015-05-16 17:37:03 -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
eadfe2980b
Filter: don't save column specific any matches to storage
2015-05-12 22:35:22 -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
f54786e04d
Editable: only make cell child div/span contenteditable. See #900
2015-05-06 15:16:43 -05:00