Mottie
fdae3bfcd5
version bump
2014-03-18 18:13:27 -05:00
evanboho
554c5269f7
Fix table reset on pagination change
...
We were getting an issue we were getting:
1) filtering to, say, 15 rows
2) moving to the last page
3) changing the pagination to more than 15 (or whatever)
4) no rows displayed
This seemed to fix it.
2014-03-18 15:25:37 -07: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
88dbec0369
Resolve pager issues. Fixes #509 .
...
Fixed several undefined variable javascript errors
Fixed an issue with recursion in the pager widget
Pagers now use "updateCache" method to update the internal cache after
ajax
2014-02-22 11:17:26 -06:00
Mottie
e69101f824
Cleanup & version bump
2014-02-19 13:27:23 -06:00
Mottie
cb40882acc
Add showError function. Fixes #486
2014-02-11 00:13:40 -06:00
Mottie
396952b57a
Add filter_hideEmpty; Correct pager & widget updating. Fixes #450 .
...
When all rows are removed from the table, ensure widgets are applied
(including refreshing the filter search), and ensure the pager display
updates. Add filter_hideEmpty option to allow setting hiding the filter
row when the table doesn't contain any tbody rows.
2014-02-11 00:09:49 -06:00
Mottie
5d4955aef8
Add API section; update docs, accordion & dates
...
Add tablesorter API section to docs. Make assorted corrections to docs &
cleanup. Update & consolidate jQuery UI accordion code. Updated some
scripts to use the correct version number (v2.15, not v2.14.6).
2014-02-10 23:55:42 -06:00
Mottie
0e438e4bbd
Improve accessibility & add unsorted header class
2014-02-10 23:45:34 -06:00
Mottie
5527bab1c0
pager: fix plugin errors
2014-02-10 23:43:19 -06:00
James Reynolds
b4ab6ebb29
minified and defect in storagekey
2014-01-16 15:53:49 -05:00
James Reynolds
9740577ba5
custom storage keys
2014-01-16 12:56:52 -05:00
Mottie
e3a4f374af
Pager: correcting page calculation. Fixes #468
2013-12-20 08:45:34 -06:00
Mottie
c4dceff34e
Ensure updateRow & not update is triggered. See issue #217
2013-12-19 11:36:41 -06:00
Mottie
d1a9f2ee22
version bump
2013-12-16 16:02:59 -06:00
Mottie
b34bbba563
Filter row is now included in stickyHeader + pager. Fixes #449
2013-12-15 07:11:26 -06:00
Mottie
d1cfbd7bae
Disable pager arrows & show zero in display when totalPages = 0. Fixes #460
2013-12-15 05:57:49 -06:00
Mottie
161c2ad99d
Add pager processAjaxOnInit option. Fixes #424
2013-12-15 05:07:22 -06:00
Mottie
eb13fb4b14
Fix pager update when ajax returns no rows. Fixes #456
2013-12-15 04:49:55 -06:00
Mottie
173db948c6
version bump
2013-12-14 10:51:14 -06:00
Mottie
404567f533
Update cache after ajax. Fixes #436 & #437
2013-12-12 18:46:45 -06:00
Mottie
5a1c22a349
Pager filtered rows count properly includes/excludes child rows
2013-12-12 12:23:44 -06:00
Mottie
9a716bec07
filter searches now start from first page. Fixes #456
2013-12-12 08:43:32 -06:00
Mottie
ebe8dd8acb
pager will now update when ajax returns no rows. Fixes #456
2013-12-11 16:44:24 -06:00
Mottie
328bba34a7
addRows method now works on an empty table. Fixes #450
2013-12-03 17:55:25 -06:00
Mottie
d81d64f418
version bump & cleanup
2013-12-02 13:26:31 -06:00
Mottie
4aea98040c
Pager now outputs zero instead of an empty string for no filter results
2013-12-02 10:11:36 -06:00
Mottie
a98551a98d
complete merge of #443
2013-11-27 11:07:52 -06:00
Mottie
472b5a418a
Merge branch 'master' of github.com:Mottie/tablesorter
2013-11-27 10:00:01 -06:00
Christopher Thomas
cdb132ec6e
add an ajaxCounter to the pager object so it can index each request and refuse to process old requests and only process the last one, this is important because when you execute multiple requests, sometimes the old requests return AFTER the new request has returned, meaning you get a mixed up data, this will stop that, even though really it should cancel the ajax request, but once the server has it, I don't know how you can do that.
2013-11-27 10:43:38 +01:00
Mottie
79bc1be5a5
Complete merge & cleanup #434
2013-11-26 13:40:59 -06:00
Christopher Thomas
d1f70cc522
I modified the location where the pager creates new <td> elements by first asking whether the data contains a td element and if it does, use that instead, this allows the ajax callback to output a fully rendered table with td elements already created, the callback to obtain those elements and just rebuild the columns using those elements, with all the required classnames, attributes, etc.
2013-11-24 21:00:25 +01:00
Mottie
651957606d
version bump
2013-11-22 20:01:48 -06:00
Mottie
23ace7cd0b
Stop using Array.indexOf due to IE8. Fixes #388
2013-11-22 11:37:16 -06:00
Mottie
ce7e0836c0
version bump
2013-11-09 14:30:58 -06:00
Mottie
e6696b0a1e
Fixed initial filter settings when using pager ajax #388 & ajax pager not recognizing column sorting #408
2013-11-08 23:49:30 -06:00
Mottie
cb3ee451b8
pager: calculate correct total rows when countChildRows is true
2013-11-01 13:43:18 -05:00
Mottie
1cc8b0da33
version bump
2013-10-30 17:59:13 -05:00
Mottie
c170dc6669
Added pager countChildRows option. See issue #396
2013-10-30 17:59:09 -05:00
Mottie
8310e01197
version bump
2013-10-18 13:38:46 -05:00
Mottie
6e93d71f9f
prevent dividing by zero (pager size)
2013-10-18 07:49:57 -05:00
Mottie
c4f10de366
Added pager widget, pager cleanup & filter widget tweaks for ajax. Fixes #388
2013-10-17 23:14:17 -05:00
Mottie
a386ae24ac
No more savePages js error. Fixes #387
2013-10-14 08:25:26 -05:00
Mottie
458669a75d
Fixed update issues, see #372
2013-10-11 14:33:31 -05:00
Mottie
ca7124518d
version & doc updates
2013-10-10 23:18:33 -05:00
Mottie
a91fd663b6
pager ajax will again target only ths when updating headers
2013-10-10 21:52:44 -05:00
Mottie
8793b9116a
pager: catch undefined ajaxData after init. Fixes #326
2013-10-10 17:01:17 -05:00
Mottie
838b4552d5
pager: store object returned from ajaxProcessing for pager output or other fun & exciting things. Fixes #326
2013-10-10 17:00:52 -05:00
Mottie
29c5bf4a4d
updateComplete should now fire properly, after an ansynchronous ajax call. Fixes #343
2013-10-10 07:59:38 -05:00
Mottie
7bda49a170
No duplicate ajax calls (removed table update for ajax calls when the server is already doing everything). Fixes #372
2013-10-10 07:59:38 -05:00
Mottie
12ca586011
All class names used for finding elements have new "empty" default values. Fixes #381
2013-10-10 07:59:37 -05:00
Mottie
2993069e04
added pager savePages option. Fixes #345
2013-10-10 07:59:36 -05:00
Mottie
0fd5203515
updated demo url & removed ajax error url comparison; see #349
2013-10-10 07:59:36 -05:00
Mottie
f719e09530
pager modification for grouping widget - fixes #281
2013-10-10 07:59:35 -05:00
Mottie
6b8dd1d800
reverted pull #349 .
2013-10-10 07:59:34 -05:00
Mottie
1ace06e96d
fixed pager removeRows option error & child rows now properly display. See #348 .
2013-10-10 07:59:34 -05:00
Mottie
214bce4e95
merged in pull #336
2013-10-10 07:59:32 -05:00
harryxu
7e8456dc6f
Count table head th length after ajaxProcessing.
2013-09-30 22:19:18 +08:00
Rob G
1a5f6b6391
Merge pull request #336 from camallen/skip_server_sort_req
...
skip ajax request on sort event if serverSideSorting is disabled
2013-09-30 06:46:41 -07:00
Rob G
cb5efc05f0
Merge pull request #324 from camallen/zero_totalRows
...
0 evaluates to false in a logical context, allow a zero to be returned for totalRows
2013-09-28 22:03:57 -07:00
Campbell Allen
a9d7c01a67
show any ajax request errors to the user in the table
2013-07-02 15:51:13 +01:00
Campbell Allen
d0010fd697
skip ajax request on sort event if serverSideSorting is disabled
2013-06-13 13:14:43 +01:00
Campbell Allen
63b2c6a151
0 evaluates to false in a logical context, allow a zero to be returned for totalRows
2013-06-04 17:54:15 +01:00
Mottie
3c0828712d
pager pageSize method properly stores set page size; fixes #287
2013-05-27 09:18:33 -05:00
Mottie
1ea06d5d1a
updated minified scripts
2013-05-27 08:53:35 -05:00
Mottie
6e5351d104
update docs, more unit testing & minor tweaks
2013-05-08 23:36:06 -05:00
Mottie
5428e35098
Added ajaxObject option; fixes #280
2013-05-08 17:02:36 -05:00
Mottie
075635c097
Pager + filter now shows 0 matches properly; fixes #297
2013-05-07 10:17:00 -05:00
Mottie
10f24c922a
ajaxProcessing return optional jQuery object; updated error handling & theme css
2013-05-07 10:13:50 -05:00
Mottie
800d602786
pagerComplete callback now fires once per change; fixes #291
2013-05-06 09:16:38 -05:00
Mottie
423f124b92
started caching pager controls
2013-05-06 09:09:22 -05:00
Mottie
1162f9c8d5
added filter_filteredRow class name option; used by the pager
2013-04-26 11:22:47 -05:00
Mottie
3500d91be3
final cleanup & version bump
2013-04-12 21:15:57 -05:00
Mottie
33db54c017
updated pager/filter docs with better examples & new changes
2013-04-12 13:02:08 -05:00
Mottie
83c39b4dc6
updated ajaxUrl to accept {page+#} tag; added all pager options to the main docs
2013-04-04 16:32:03 -05:00
Mottie
aa0266c388
added pager customAjaxUrl - See #256
2013-03-27 20:01:39 -05:00
Rob G
6fde718ec1
Merge pull request #256 from Cthulhu59/master
...
Add parameters to ajx url
2013-03-27 17:16:06 -07:00
Mottie
ba885c436d
update to v2.8.0
2013-03-27 18:21:09 -05:00
Mottie
4f310ea3e6
code cleanup & metric demo
2013-03-26 16:16:13 -05:00
Mottie
c9d4d12aa5
stop method propagation at the table - fixes #263
2013-03-23 09:41:33 -05:00
Cthulhu59
6fbce2b35c
Add custom ajax url to add custom params to url
2013-03-11 17:14:17 +01:00
Mottie
220f1c580c
pager now targets correct page when the table is empty
2013-02-20 01:17:27 -06:00
Mottie
41f4c6c963
use addBack() if supported - fixes #229
2013-02-17 13:29:02 -06:00
Mottie
628b79b0f8
added pageSet method
2013-02-10 11:47:59 -06:00
Mottie
009cf1e92a
doc & version updates
2013-01-29 16:42:23 -06:00
Mottie
8ece25e41a
added pager pageSize method - issue #218
2013-01-22 10:34:30 -06:00
Mottie
0232c7a6ea
fixed pager issue with an empty tbody
2013-01-22 09:49:09 -06:00
Mottie
6eb36a6532
Fixed pager + filter problems reported in issue #207 .
2013-01-04 12:10:17 -06:00
Mottie
c963f325e5
updated headerTemplate demos
2012-12-26 02:06:26 -06:00
Mottie
e5ef1e0ef2
fixed pager resetting to first page after a sort
2012-12-26 01:46:49 -06:00
Mottie
87e66fba6a
pager ajax should no longer initialize twice. Fixes issue #202
2012-12-20 13:36:22 -06:00
Mottie
b3c9893417
added "pagerBeforeInitialized" event & cleaned up pager code
2012-12-19 10:35:46 -06:00
Mottie
d0f48b14ba
fixed problem with pager size being incorrect with nested tables. Fixes #196
2012-12-18 23:02:04 -06:00
Mottie
954065df89
merge in improved ajax support
2012-12-18 15:50:42 -06:00
Ryan Millikin
3d415333cc
AJAX paging updates. This patch fixes issues with update events being re-triggered continuously and AJAX error handling being bound too many times. It also adds support for passing filtering parameters with the AJAX request.
2012-12-17 11:33:46 -06:00
Mottie
351e3ad699
Fixed crlf issue
2012-11-27 20:55:36 -06:00
Mottie
3275096e0a
fixed recursive ajax pager issue #182
2012-11-27 17:39:53 -06:00
Mottie
9b763d5baa
pager & stickyHeaders widget bug fixes - see issue #175
2012-11-15 18:09:50 -06:00
Mottie
6d8fe95da8
pager now updates with updateComplete event
2012-10-25 17:57:59 -05:00
Mottie
470fee06e2
fixed pager page size selector - see issue #122
2012-10-25 17:45:15 -05:00
Mottie
e5b196bd7a
fixed disabled pager elements - issue #157
2012-10-17 10:15:54 -05:00
Mottie
5c9ee38cf1
Added sortList parameter to pager ajax url. See issue #155
2012-10-17 09:27:33 -05:00
Mottie
4f1aa02a93
new pager events - issue #153
...
Added "pagerInitialized" and "pageMoved" thanks to ViViDboarder
2012-10-15 16:43:09 -05:00
ViViDboarder
9735aacb88
Add Page Moved Trigger to moveToPage
...
Adding a new trigger to the end of the moveToPage function so that
async events can be added by the user to be triggered whenever new data
is shown on the table.
2012-10-15 10:59:01 -04:00
Mottie
a0e5229d32
changed selectorRemove default
2012-10-13 15:10:29 -05:00
Mottie
597ec7d768
updated pager plugin - fixes #151
2012-10-13 14:41:34 -05:00
Mottie
c29e651ebf
updated docs
2012-09-27 14:57:19 -05:00
Rob Garrison
516152e256
ie speed optimization
2012-05-28 10:01:40 -05:00
Rob Garrison
094e1116ad
initWidgets & optimizations
2012-05-23 12:11:30 -05:00
Rob Garrison
5bb549d381
destroy & other updates
2012-05-11 12:46:54 -05:00
Rob Garrison
ebf50c950a
pager cursor style & image alt tags - issue #61
2012-05-04 16:21:43 -05:00
Rob Garrison
348a8da73b
widgets update on pager change
2012-05-04 10:45:16 -05:00
Rob Garrison
e579f93e8f
added textSorter & modified sortLocaleCompare
2012-05-03 23:38:10 -05:00
Rob Garrison
28e9a07d59
sort multiple tbodies
2012-05-03 09:46:31 -05:00
Rob Garrison
64b63632ec
sort optimizations
2012-04-28 21:45:34 -05:00
Rob Garrison
6fb226e5cb
pager css corrections
2012-03-22 09:50:17 -05:00
Rob Garrison
8c7826c103
updated pager minified version
2012-03-17 22:18:11 -05:00
rozwell
f3cc123f64
Fixed triggering "update" - it was executed on every table in DOM
2012-03-17 23:34:48 +01:00
rozwell
fc37153541
Little fix
2012-03-17 20:45:40 +01:00
rozwell
9a81c756f7
Fixed NaN pager size when cssPageSize is not set.
...
Fixed manual page setting on construct.
2012-03-17 20:29:48 +01:00
Rob Garrison
c967fac099
modified ajaxProcessing in pager plugin
2012-03-16 23:13:22 -05:00
Rob Garrison
04aacd5449
pager ajax works with stickyheaders now
2012-03-08 09:10:38 -06:00
Rob Garrison
b85070154f
pager update
2012-03-07 11:59:39 -06:00
Rob Garrison
580f4e548d
Fix for issue #27 - pager should not include childrows
2012-02-16 05:59:09 -06:00
Rob Garrison
3a848676dd
sortReset, saveSort widget & pager fix
2012-01-31 23:14:28 -06:00
Rob Garrison
7b70cea518
retain pager size & total pages
2011-10-28 08:12:37 -05:00
Rob Garrison
628e0eeee8
pager bug & resizable columns widget
2011-10-26 01:50:02 -05:00
Rob Garrison
12177fc971
disable/enable pager
2011-10-13 20:57:46 -05:00
Rob Garrison
1f8a9ce203
sortBegin & removeRows - pager
2011-09-22 17:32:58 -05:00
Rob Garrison
f430c9d113
filter widget
2011-09-13 17:55:31 -05:00
Rob Garrison
1153c05171
addRows method & destroy pager
2011-09-08 11:28:10 -05:00
Rob Garrison
440f5549ad
ui theme & pager update
2011-07-27 01:14:20 -05:00
Rob Garrison
98eee6dc72
Added missing docs!
2011-07-17 10:01:18 -05:00
Rob Garrison
466b3a5860
alphanumeric sort
2011-06-22 18:19:27 -05:00