Commit Graph

446 Commits

Author SHA1 Message Date
Mottie
1880d775ef resizable + stickyHeaders: replace window resize trigger. Fixes #912 2015-05-21 18:34:59 -05:00
Mottie
4410ecee0b Core: only preventDefault in specific jQuery versions. Fixes #911 2015-05-18 07:57:16 -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
8d2abbba32 Core & pager: replace remaining jQuery each function. Fixes #827 2015-05-17 11:10:49 -05:00
Mottie
ee9c301edb Core: add "ō" to sortLocaleCompare & update docs 2015-05-16 15:33:09 -05:00
Mottie
65d48727ff Core: prevent js error if sortList targets incorrect column. Fixes #908 2015-05-14 11:54:39 -05:00
Mottie
2a850ae18b Core: properly store child row content in row data & cleanup 2015-05-12 22:35:30 -05:00
Mottie
ab03e829f8 Core: centralize extractor & parser code
buildCache, addRows & updateCell functions all used very similar code
2015-05-03 22:58:02 -05:00
Mottie
f98ad57499 Core & math: prevent js error on empty tables. Fixes #889 2015-04-30 12:00:17 -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
cd784f69ff Core: isDigit now reports false on empty strings. See #865 2015-04-10 10:16:14 -05:00
Mottie
d6794b1241 version bump 2015-04-08 00:02:53 -05:00
Mottie
655a0f09b4 version bump 2015-03-30 07:58:07 -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
6f524ccef6 version bump 2015-03-26 10:48:43 -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
fd693b6d87 Core: include extraTables along with extraHeaders
Also replace instances of tagName with nodeName
2015-03-23 16:10:37 -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
0790d0e042 add option to toggle behavior of long clicks 2015-03-20 07:44:03 -04:00
Mottie
fe8b7a17b5 Core: fix icon targeting for class names 2015-03-17 12:14:53 -05:00
Mottie
2340dc7de8 version bump 2015-03-13 12:37:18 -05:00
Mottie
2e398259b3 Core: get accurate column count. Fixes #840 2015-03-11 18:09:44 -05:00
Mottie
53694db90b version bump 2015-03-10 12:05:02 -05:00
Mottie
a37700ebcd Core: allow multiple icon class names in definition 2015-03-09 16:23:36 -05:00
Mottie
bab36c48dc Core: use :last to maintain jQuery v1.2.6 compatibility 2015-03-08 09:37:40 -05:00
Mottie
5820c56282 Core: optimize getColumnData 2015-03-08 09:11:24 -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
873f6d2ee2 Optimizations: replace arrays using $.each with for loops. See #827 2015-02-25 18:44:36 -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
fb9ad1acac Core: plan to manually update version number
too many scripts link to the src, so it'll be hard to tell what version is being used
2015-02-21 18:36:05 -06:00
Mottie
146a5ff2ea Grunt build: Use string replace to update version # 2015-02-20 18:48:25 -06:00
Mottie
b71c1fe681 Event unbinding: change trim to replace spaces
the problem in jQuery 1.7-1.8 was any double spaces within a list of event names would cause the unbind to remove all event bindings - see http://jsfiddle.net/Mottie/zL6uory0/2/
2015-02-20 16:17:29 -06:00
Mottie
ff3701f63b Core: minor tweak 2015-02-20 16:17:17 -06:00
Mottie
6fa4a513be Core: make jsHint happy 2015-02-20 14:35:29 -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
Ilya Vorontsov
c2f39080d2 Update jquery.tablesorter.js
fix little bug in new getElementText
2015-02-18 21:41:28 +03:00
Mottie
2065d0c8f1 Core: Fix noSort 2015-02-17 16:37:06 -06:00
Mottie
df97b1db8e Core: remove cssAllowClicks default 2015-02-17 16:22:03 -06: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
764426d2c4 Core: make getElementText function public 2015-02-15 16:43:20 -06:00
Mottie
2774abf8d8 Build: Add grunt build process
Rearranged, renamed & broke apart other files
2015-02-12 21:10:38 -06:00
Mottie
5263aa75ae Core: make core compatible with jQuery v1.2.6 again 2015-02-12 21:03:36 -06:00
Mottie
5e8953d901 Core: fix broken unbinding of events 2015-02-11 18:18:28 -06:00