Commit Graph

104 Commits

Author SHA1 Message Date
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
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