Commit Graph

185 Commits

Author SHA1 Message Date
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
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
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
ec0343ab5f Pager (widget only): fix initial start page default 2015-02-10 10:14:04 -06: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
19b69c9ac3 Widgets: update remove function
columnSelector, cssStickyHeaders, pager, repeatHeaders, saveSort & stickyHeaders
2015-02-02 07:58:47 -06:00
Mottie
8921894717 Pager: add cacheIndex variable & update docs
Added a pager variable section
2015-01-26 19:13:41 -06:00
Mottie
b9e028d8ed Pager widget: fix js error 2015-01-23 23:09:56 -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
98e3a41428 Pager: widget again updating on init properly 2014-11-03 14:44:08 -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
26963ef1b0 Pager: widget cleanup & only use last search data 2014-10-20 15:44:56 -05:00
Mottie
3c0380cad4 Pager: fixedHeight is working properly. Fixes #742 & 729 2014-10-09 18:22:10 -05:00
Mottie
ae65dc5477 Pager: fix empty table select showing 0 & 1 pages 2014-10-09 17:05:56 -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
Justin F. Hallett
a867d3d2f1 p must have ajaxObject, setting it up at init so we can use it to compare later on 2014-09-30 16:17:17 -06:00
Mottie
6fbdc1a3b9 Pager: Add url check to allow ajax updating of table. Fixes #730 2014-09-28 08:37:47 -05:00
Mottie
2d81e3e8f3 Pager: modify & add to widget the code from issue #711 2014-09-17 01:45:27 -05:00
Mottie
08bf513acd version bump 2014-09-15 19:44:03 -05:00
Mottie
839feaa81a Pager: fix widget to be properly applied after page move 2014-09-15 15:12:30 -05:00
Justin F. Hallett
a6e8fcc84b Fix extra bracket and space 2014-08-27 09:15:52 -06: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
f7b9619b2f Pager widget: ensure pagerComplete event fires on init 2014-07-03 13:17:09 -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
20938f9bf9 Pager widget: change goto (reserved word) to gotoPage & doc updates. Fixes #657 2014-06-23 15:36: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
Mottie
d2eb430d2b Pager: update widget to also pass jqxhr to ajaxProcessing. See #626 2014-05-26 17:08:41 -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
Mottie
9cabd1797a Pager stays on same page after update. Fixes #590 2014-04-23 15:47:54 -05:00
Mottie
6d068d347d version bump 2014-04-20 19:39:59 -05:00
Mottie
5edb87b539 Filter from cache. Fixes #515 2014-04-20 09:27:52 -05:00
Mottie
f65e3dc9b3 Pager: Add pageReset option. Fixes #565 2014-04-20 09:20:43 -05:00
Mottie
7a52f960cc Pager: revert oldAjaxSuccess removal, fixed #540 with deep extend 2014-04-18 11:04:45 -05:00
Mottie
ea3f7a7b80 Pager: remove oldAjaxSuccess function. Fixes #540 2014-04-17 09:46:30 -05:00
Mottie
284b73eaf1 Destroy method now clears cache & pager rows copy 2014-04-10 20:16:22 -05:00
Mottie
8f88f72899 version bump 2014-04-10 10:29:04 -05:00
Mottie
b8cdca396f pager processAjaxOnInit works with jQuery objects. Fixes #572 2014-04-09 07:24:17 -05:00
Mottie
4a984eb681 version bump 2014-03-31 06:14:47 -05:00
Mottie
e25de3c0be Child row updates. Fixes #556 & part of #396
Add tablesorter-hasChildRow
If the last pager row has any child rows, they are now included
Add "filtered" css definition to every theme to hide content
2014-03-31 05:07:19 -05:00
Mottie
fdae3bfcd5 version bump 2014-03-18 18:13:27 -05:00
Mottie
fcd56c6c23 update pager widget with change from #548 2014-03-18 17:40:03 -05:00
Mottie
35be6689fb cleanup & version bump 2014-03-07 12:53:21 -06:00
Mottie
224d7acb24 Attempt to fix pager row count #455 2014-03-06 21:13:45 -06:00
Mottie
474e446ef8 Events sortEnd & updateComplete fire on empty tables. Fixes #532
Sort events now only fire while sorting, previously they fired when
updating an unsorted table
Updated pager to fire appropriately when using ajax
Added unit tests (non-ajax) events
2014-03-06 20:28:47 -06:00
Mottie
e30d8049ae pager: compare totalRows vs totalPages when preventing an ajax call 2014-03-04 10:40:34 -06:00
Mottie
5d91d5e81a Pager: ensure empty array & array of empty strings evaluates as the same. Fixes #202 2014-03-03 18:25:12 -06:00
Mottie
cf1ea135cb version bump 2014-02-23 00:48:07 -06:00