Commit Graph

253 Commits

Author SHA1 Message Date
Rob Garrison
2ac96256ac Docs: Add clarification & missing possible values. See #1070 2015-11-09 07:01:24 -06:00
Rob Garrison
1d813bd766 version bump 2015-10-31 11:06:09 -05:00
Rob Garrison
e7988cf5a8 Pager: parse page size updates 2015-10-30 17:02:04 -05:00
Rob Garrison
9da745bf5b Pager: parse page number to prevent user seeing NaN 2015-10-30 15:25:38 -05:00
Rob Garrison
94c2ce700a Pager: destroyPager reveals all rows. Fixes #1055
Partial reversion of 285cef1e70
2015-10-27 17:31:50 -05:00
Rob Garrison
612c76e5ee Pager: add "all" setting for pageSize. See #1055 2015-10-25 20:55:48 -05:00
Rob Garrison
5d4529c37d Global: call internal functions directly; stop using trigger 2015-10-22 16:41:34 -05:00
Rob Garrison
fe7a366e25 Pager: clear tbody if no data returned by ajax. See #1032 2015-10-05 11:50:57 -05:00
Rob Garrison
40dcaace25 version bump 2015-10-04 09:26:07 -05:00
Mottie
285cef1e70 Pager: prevent hiding child rows when disabling or destroying pager. See #1020 2015-09-25 12:18:21 -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
805be29302 version bump 2015-08-17 21:08:41 -05:00
Mottie
be6999c67a Pager: add ajaxError callback function. Fixes #992 2015-08-15 10:56:42 -05:00
Mottie
d8fd020d29 Pager: unbind pager controls on destroy. Fixes #981 2015-07-30 17:37:59 -05:00
Mottie
7a288dd1bf Pager: change enable, disable & destroy trigger methods. Fixes #980 2015-07-30 13:32:54 -05:00
Mottie
0d6ae8ad71 Pager: replace use of $.isEmptyObject 2015-07-29 19:50:58 -05:00
Mottie
b3dd4b7c75 version bump 2015-07-28 15:01:32 -05:00
Mottie
b5485f4992 Overall: update debug logging to use console 2015-07-24 18:23:00 -05:00
Mottie
75de112ef6 Build: Add jscs checking & fix style issues
Thanks @Herst!
2015-07-22 23:29:51 -05:00
Mottie
dd80e3c88f Pager: bind using unique event namespace. See #961 2015-07-14 21:22:52 -05:00
Mottie
d36184a1d4 Pager: prevent adding row if JSON totalrows = 0
See http://stackoverflow.com/q/30875583/145346
2015-06-16 20:37:57 -05:00
Mottie
393b6d5c9f Pager addon: make hasWidget think pager addon is a widget 2015-06-02 10:47:29 -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
6f524ccef6 version bump 2015-03-26 10:48:43 -05:00
Mottie
a840a4e7ff Pager: remove "refreshComplete" bind on destroy. See #854 2015-03-25 20:24:35 -05:00
Mottie
90909a6f52 Pager: make pagerUpdate method page parameter optional 2015-03-25 11:16:55 -05:00
Mottie
7f37b90ebd General code cleanup
Also replace instances of tagName with nodeName
2015-03-23 16:08:07 -05:00
Mottie
ec4bad5fa0 Pager: remove outdated min; updated in dist/js/extras 2015-03-13 12:16:28 -05:00
Mottie
888f518b29 Pager: don't recalculate total rows/pages if using ajax 2015-03-11 19:21:26 -05:00
Mottie
403d831fc0 version bump 2015-03-05 10:10:57 -06:00
Mottie
c17aa829e6 Debug: update debug logging
pager, columnSelector & filter
2015-02-27 17:37:14 -06:00
Mottie
873f6d2ee2 Optimizations: replace arrays using $.each with for loops. See #827 2015-02-25 18:44:36 -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
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
c4a84f3dd5 version bump 2015-02-09 18:44:47 -06:00
Mottie
9993d77f38 Core/widgets: update unbinding events to prevent removing all binds
This appears to be a jQuery bug when unbinding events in versions between 1.7 & 1.8 - see http://jsfiddle.net/Mottie/zL6uory0/
2015-02-09 17:12:40 -06:00
Mottie
9b32f0c5f6 version bump 2015-02-07 00:46:44 -06:00
Mottie
6962d31302 Pager: update display before applying widgets 2015-02-05 13:46:45 -06:00
Mottie
fe81a867fc Pager: update widgets & fire pagerComplete after cache is built 2015-02-05 13:06:18 -06:00
Mottie
1ffd4a0a20 Pager: update goto independently of other elements. Fixes #811 2015-02-04 07:29:07 -06:00
Mottie
8921894717 Pager: add cacheIndex variable & update docs
Added a pager variable section
2015-01-26 19:13:41 -06:00
Mottie
857e275aab Core: add removeWidget & refreshComplete
Updated addWidget, applyWidget & refreshWidgets
2015-01-23 23:09:32 -06:00
Mottie
3abce88fd8 Pager: Add "pagerUpdate" method to force a pager update. Fixes #801 2015-01-20 18:48:11 -06:00
Mottie
14799b9ce8 Pager: Add pageAndSize method to set both page & size 2015-01-16 12:17:47 -06:00
Mottie
85a1ca0453 Pager: page size resets to original page setting instead of 10 2015-01-16 07:51:11 -06:00
Mottie
638d070f3a Pager: filteredRows now properly calculated when first tbody set with cssInfoBlock class 2015-01-09 07:25:39 -06:00
Mottie
1d3a2c21a4 Pager: Get most up to date filter before setting pageReset. Fixes #783 2014-12-25 10:04:44 -06:00
Mottie
4c06e417d3 Pager: pageReset now used while filtering. See #778 2014-12-25 07:35:17 -06:00