Commit Graph

40 Commits

Author SHA1 Message Date
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
Mottie
4e80bc9753 Pager widget initializes properly. Fixes #510 2014-02-23 00:46:34 -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
9bc24314ed Add storageKey to pager widget. Fixes #481 2014-02-10 23:45:57 -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
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
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
82d467ad88 Fix & document inconsistencies in pager triggered event parameters 2013-12-15 05:41:48 -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
0167f895d7 pager widget now outputs zero instead of empty string for no filter results 2013-12-02 10:18:52 -06:00
Mottie
a98551a98d complete merge of #443 2013-11-27 11:07:52 -06:00
Mottie
79bc1be5a5 Complete merge & cleanup #434 2013-11-26 13:40:59 -06: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
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