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
Mottie
cdb766f8d9
version bump
2014-12-22 21:12:59 -06:00
Mottie
9cd317070f
Pager: ensure filteredRows gets updated before movetopage is called. Fixes #778
2014-12-22 20:44:29 -06:00
Mottie
e07ce8146f
version bump & added FORK notes
2014-11-03 17:45:53 -06:00
Mottie
12e9a25152
Pager: fix savedPages being overwritten
2014-11-03 12:57:33 -06:00
Mottie
cddd9d4ed1
Pager: fix pagerComplete not firing on non-ajax tables
2014-11-03 12:35:48 -06:00
Mottie
363f083682
version bump
2014-11-03 10:56:46 -06:00
Mottie
a20b37bfd0
Pager: current filters now updating properly. See #757
2014-11-03 08:05:22 -06:00
Mottie
983a05e128
Pager: fix double "pagerComplete" even on init & initial filter settings
...
Updated destroy events that are unbound from the table
2014-10-31 15:18:30 -05:00
Mottie
8ad625b45b
Pager: updateComplete fires again on non-ajax tables
2014-10-31 12:35:05 -05:00
Mottie
e8452da206
Pager: fix pager initialization with filter widget & display update. Fixes #755 & #757
2014-10-31 11:56:17 -05:00
Mottie
340b39a638
Pager: a pagerComplete event now fires off immediately after initialization
2014-10-30 21:04:53 -05:00
Mottie
9a3078c33b
Pager: fix selectorRemove class name parsing
2014-10-30 20:58:36 -05:00
Mottie
3b2742f475
version bump
2014-10-26 19:11:12 -05:00
Mottie
3c0380cad4
Pager: fixedHeight is working properly. Fixes #742 & 729
2014-10-09 18:22:10 -05:00
Mottie
cdaa65f041
Pager: ensure filteredRows is current on page move. See #745
2014-10-09 16:49:49 -05:00
Mottie
0ee530de30
Pager: revert using native javascript for goto select. Fixes #734
2014-10-09 16:10:34 -05:00
Mottie
655b2c9277
Pager: IE requires a value attribute for every option. Fixes #734
2014-10-07 08:14:36 -05:00
Mottie
d6be67e770
Pager: check for dynamically changing ajaxUrl option & cleanup
2014-10-02 11:30:39 -05:00
Mottie
6fbdc1a3b9
Pager: Add url check to allow ajax updating of table. Fixes #730
2014-09-28 08:37:47 -05:00
Mottie
aabb1d6dad
Pager: plugin again updates output display on init
2014-09-20 19:50:27 -05:00
Mottie
2d81e3e8f3
Pager: modify & add to widget the code from issue #711
2014-09-17 01:45:27 -05:00
Mottie
db8878ac83
Pager: Fix JSHint code issues from #711
2014-09-16 09:54:30 -05:00
Campbell Allen
74163cf8a9
remove unused variable max_option_size
2014-09-16 08:39:48 +01:00
Campbell Allen
8eb0a6125a
extract maxOptionSize to a pager widget configuration option
2014-09-16 08:37:28 +01:00
Campbell Allen
66045f5a25
add focus page number set around current page number
2014-09-16 08:37:28 +01:00
Campbell Allen
3ac996ba60
use a sample of page number links for large collections
...
Large collections will have a large number of page links. The browser slows noticeably when inserting the large page links collection into the DOM.
2014-09-16 08:37:27 +01:00
Mottie
08bf513acd
version bump
2014-09-15 19:44:03 -05:00
Mottie
7747fa9700
Pager: use native javascript to populate & set the goto select. See #711
2014-08-25 20:27:40 -05:00
Mottie
346d8cb64b
Pager: update cache & rows copy. Fixes #703
2014-08-12 10:35:46 -05:00
Mottie
526a869b49
version bump & cleanup
2014-08-01 21:31:33 -05:00
Mottie
bb939266a8
Pager: remove selected attribute from page options. See #700
2014-07-31 07:42:21 -05:00
Mottie
39e91a5733
Pager: output can now add user modifiable startRow or page inputs
2014-07-22 07:42:15 -05:00
Mottie
e861f6c3fc
Cleanup & version bump
2014-07-17 12:40:11 -05:00
Mottie
4ef7bcd5a8
Pager: initialize without building cache when delayInit true. Fixes #678
2014-07-11 15:01:20 -05:00
Mottie
6de1009af8
version bump
2014-07-04 07:36:50 -05:00
Mottie
2a835930e4
Core/Filter/Pager: Add config.totalPages & modify filterEnd variable to include it. See #670
2014-07-03 10:59:48 -05:00
Mottie
21492fe960
Pager: update c.filteredRows when using ajax. Fixes #670
2014-07-03 09:32:27 -05:00
Mottie
6ece2fe6b4
Pager: filtered rows now equals total rows when ajaxProcessing returns an array. Fixes #667
2014-07-02 15:43:15 -05:00
Mottie
197af4fc31
version bump
2014-06-28 23:04:50 -05:00
Mottie
b1b09f1bb8
Pager: prev & next buttons now disable with 0 filtered pages. Fixes #649
2014-06-22 06:37:02 -05:00
Mottie
d6666e4999
Pager: fix setting of filteredRows from ajaxProcessing. Fixes #649
2014-06-21 19:32:16 -05:00
Mottie
948d8de4f9
Pager: fix use of selectorRemove class name
2014-06-21 11:54:02 -05:00
Mottie
a98584e9c5
Pager: objects returned by ajaxProcessing can now include a filteredRows value. Fixes #649
2014-06-21 01:24:21 -05:00
Mottie
d9cb97f1e6
version bump
2014-06-18 16:07:29 -05:00
Mottie
6042a3ae26
Pager: correctly detach and append jQuery rows. Fixes #650
2014-06-16 22:36:08 -05:00
Mottie
324014283d
Pager: specifically target rows to prevent issues with ember scripts. Fixes #638
2014-06-03 07:58:11 -05:00
Mottie
c09945c60c
version bump
2014-05-28 19:22:11 -05:00
Mottie
f932d2687e
Pager: Fix widgets sometimes not being applied after page change
2014-05-28 12:16:14 -05:00
Juarez Turrini
b7100dc27c
Pager: Passing jqxhr for ajaxProcessing function.
2014-05-26 17:04:49 -05:00
Mottie
fcebad5a0f
version bump
2014-05-22 07:53:29 -05:00
Mottie
219606e0db
Pager: fix pager updating
2014-05-22 07:53:28 -05:00
Mottie
9c0017d44e
Core & pager: use detach instead of empty on tbody rows
2014-05-08 12:07:13 -05:00
Mottie
6a6044595e
version bump
2014-04-23 19:41:05 -05:00
Mottie
c7607401b8
Filter widget: fix filteredRows count & cleanup
2014-04-23 16:09:26 -05:00