Rob Garrison
053553d4dd
Core: duplicateSpan false now uses textExtraction
...
See http://stackoverflow.com/q/36449711/145346
2016-04-06 22:15:38 -05:00
Rob Garrison
f8c2e4b22d
Grunt: update Qunit
2016-04-06 22:12:47 -05:00
Rob Garrison
1547da983e
Update dependencies
2016-03-05 10:57:16 -06:00
Rob Garrison
121b134db9
Testing: re-align code
2016-01-22 16:50:47 -06:00
Rob Garrison
7f08f7dd1d
Filter: select defaults to exact match again. Fixes #1136
2016-01-22 13:36:09 -06:00
tschilling
426d72b50d
Treat null filters the same way as undefined filters.
2016-01-20 10:50:35 -05:00
tschilling
4cb15889d7
Check that the filter is not undefined before encoding/decoding it.
...
If we include undefined filter values in the encoding/decoding,
then we store 'undefined' as the value in the cookie. When this
gets parsed out, it's treated as an actual value. This will likely
not match anything resulting in the initial filtering to filter out
all results.
2016-01-19 15:10:22 -05:00
Rob Garrison
06b190a520
Filter: parsed flag tweaks
...
* Set all true if `filter_useParsedData` true.
* Stop using c.$headers
2016-01-10 22:06:15 -06:00
Rob Garrison
13068454c5
Core: add multiple widgets from table class. Fixes #1109
2015-12-22 10:19:10 -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
b34560e367
Grunt: update dependencies
2015-11-21 06:42:41 -06:00
Rob Garrison
f51b39388a
Filter: selectSource option now accepts an array of objects
2015-11-10 14:40:26 -06:00
Rob Garrison
f80d3d4c2c
Core: fix sortRestart preventing sort. Fixes #1072
2015-11-04 19:31:02 -06:00
Rob Garrison
dbcd306ff2
Core: cache shortDate parser & time parser extracts time
2015-11-01 23:29:18 -06: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
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
e28f7b52cd
testing: cleanup
2015-08-10 19:19:48 -05:00
Mottie
e87f7ae523
Core: addRows accepts a row string if only one tbody exists
2015-07-29 20:48:12 -05:00
Mottie
7a91e0d6a6
Filter: prevent invalid RegExp errors
2015-07-27 18:49:30 -05:00
Mottie
6b597b1655
Testing: add isProcessing testing & replace quotes
2015-07-26 10:16:28 -05:00
Mottie
8e81d53db3
Core/Test: add isValueInArray array testing
2015-07-26 09:15:35 -05:00
Mottie
319149816d
Testing: update QUnit to 1.18.0
2015-07-24 12:32:22 -05:00
Mottie
a33ed6c83e
Testing: add removeWidget test
2015-07-23 07:33:22 -05:00
Mottie
a0d29c99f4
Core: fix hasWidget error
2015-07-23 07:26:48 -05:00
Mottie
37d44b18e3
Core: allow empty string in textExtraction data-attribute. See #954
2015-06-23 16:11:29 -05:00
Mottie
449b985c60
Filter: add nesting of "AND" & "OR" searches. Fixes #891 & #918
2015-06-12 21:02:26 -05:00
Mottie
9a67c022c4
Filter: add filter_childByColumn option. Fixes #396 & #574
2015-05-14 21:32:41 -05:00
Mottie
cd784f69ff
Core: isDigit now reports false on empty strings. See #865
2015-04-10 10:16:14 -05:00
Mottie
7e20669890
Core: add getColumnText
utility function
2015-03-30 07:52:46 -05:00
prijutme4ty
b1e733a29b
Make tests more stable and independent(only part of them) by using deferred objects.
...
Stick to new Qunit syntax (without asyncTest and with explicit assert. prefix) instead of deprecated
2015-03-01 03:41:27 +03:00
Mottie
87652f2cb7
Testing: remove console message
2015-02-25 17:47:18 -06:00
Mottie
01437ba82a
Testing: attempt to make the nested callbacks more stable
2015-02-20 21:30: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
2774abf8d8
Build: Add grunt build process
...
Rearranged, renamed & broke apart other files
2015-02-12 21:10:38 -06:00
Mottie
157e8e7bcb
Testing: update QUnit & remove jsHint checks
2014-12-31 20:21:29 -06:00
Mottie
d1134a5422
Testing: update QUnit & fix testing error
2014-10-31 15:27:45 -05:00
Mottie
10528ebd44
Filter: corrected filter events & prevent table manipulation if filters are empty. Fixes #645
...
filter events no longer occur before the filterInit event
2014-06-16 11:19:29 -05:00
Mottie
26db918be7
Core: add parser-false setting. Fixes #629
2014-05-28 07:29:43 -05:00
Mottie
bb421f9a25
Docs: switch from CDN to local files (prevents https conflicts) & cleanup
2014-05-22 07:53:26 -05:00
Mottie
e0065710d2
Core: refer filter_functions & filter_selectSource by header class/id. See #237 .
2014-05-22 07:53:18 -05:00
Mottie
9657255429
Core: Refer textExtraction by header class/id
2014-05-16 13:38:56 -05:00
Mottie
4627f214b8
Core: Refer headers option by header class/id
2014-05-16 13:38:55 -05:00
Mottie
bf94978dd2
Core: new sorton values "a", "d", "n", "s" & "o"
2014-05-13 10:45:32 -05:00
Mottie
859949152f
Add more filter testing
2014-05-02 23:58:34 -05:00
Mottie
4326a622c8
Testing - starting to add tests for filter widget
2014-04-23 19:07:06 -05:00
Mottie
252feeaaed
core: move cached rows into normalized data; updated tests
2014-04-20 09:27:41 -05:00
Mottie
872325a458
textExtraction update, add textAttribute & add tests. Fixes #154
2014-04-18 19:57:54 -05:00