Commit Graph

637 Commits

Author SHA1 Message Date
Mottie
fa3c21f1c6 Resizable: resizing works with overflow wrapped tables. Fixes #953 2015-06-26 21:26:44 -05:00
Mottie
482586bd8a Editable: allow Shift+Enter to create a new line 2015-06-26 10:39:40 -05:00
Mottie
c808f83df1 Scroller: restore scroll position after resize. Fixes #926 2015-06-22 08:01:34 -05:00
Mottie
e2c3149229 Scroller: integrate with resizable (WIP) 2015-06-22 07:50:13 -05:00
Mottie
2adda8d2e9 Scroller: save scroll positioning. Fixes #926 & #932 2015-06-21 11:11:16 -05:00
Mottie
a8fb9614e6 Scroller: throttle IE scroll. See #928 2015-06-21 10:41:42 -05:00
Mottie
7b6ebfa639 Scroller: correct column alignment. Fixes #940, #937, #931 & #927
Bonus fix #932 which maintains scroll position after sort/filter
2015-06-21 10:39:37 -05:00
Herst
c35f1798eb Filter: comma too much
The comma that breaks IE7.
2015-06-19 10:20:23 +02:00
Mottie
9b39a91268 Ouput: stop outputTable propagation. Fixes #944 2015-06-17 08:56:48 -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
5faba4b9e0 Filter: row remains visible after focused, when hideFilters set 2015-06-12 21:06:08 -05:00
Mottie
449b985c60 Filter: add nesting of "AND" & "OR" searches. Fixes #891 & #918 2015-06-12 21:02:26 -05:00
Mottie
a79f3417ce SortTbodies: remove already defined variables 2015-06-12 20:20:40 -05:00
Mottie
5608727c80 SortTbodies: add new widget. Fixes #195 & #833 2015-06-10 20:35:37 -05:00
Mottie
0c1c594ac1 Output: remove console log :P 2015-06-08 19:56:52 -05:00
Mottie
8d45bf2701 Output: fix colspans + hidden columns
Also replaced jQuery each functions with plain js
2015-06-08 19:53:45 -05:00
Mottie
b71d730785 Output: remove tfoot clone, concat data to the end instead 2015-06-08 13:36:49 -05:00
Mottie
f4381c0c02 Output: prevent js error when no row data is passed. See #923 2015-06-08 11:36:36 -05:00
Mottie
64a3e4a902 Output: fix hiddenColumns option causing empty output. Fixes #923 2015-06-08 10:51:32 -05:00
Mottie
ca163ec639 Filter: selectSource now ignores parsers, if none set. Fixes #934 2015-06-07 19:26:28 -05:00
Mottie
dda8b8d76c Output: output_saveRows now accepts jQuery filter selectors 2015-06-07 18:55:12 -05:00
Mottie
d1e4510d87 Scroller: removed unused variable 2015-06-07 16:48:52 -05:00
Mottie
95cf3f8044 Scroller: Fixed column tfoot now properly aligns. See #924 2015-06-02 10:50:27 -05:00
Mottie
d502a6f9f5 Scroller: hide fix column scrollbar in Firefox, again 2015-06-01 21:31:38 -05:00
Mottie
20f2cd20b4 Scroller: cleanup & old IE fix 2015-06-01 20:58:02 -05:00
Mottie
4e38030dc2 Scroller: mousewheel scrolling on fixed column works again 2015-06-01 20:31:11 -05:00
Mottie
1fb45130ce Scroller: reduce init lag & correct no fixed column tbody width. See #906 2015-06-01 20:29:22 -05:00
Mottie
7f9258f1e1 Output: allow empty string data-attributes. See #923 2015-06-01 16:29:59 -05:00
Mottie
18a97ed4d9 Filter: target last used filter issue. See #920 2015-05-31 10:45:50 -05:00
Mottie
f315a8f02d StickyHeaders: fix js error. See #920 2015-05-29 07:16:31 -05:00
Mottie
bbe5d53e14 Scroller & columnSelector: integrate widgets. Fixes #905 2015-05-28 11:44:25 -05:00
Mottie
7c46c9e02e Scroller: lots of updates
* Support multiple tbodies. See #906
* Limit horizontal scrollbar to scrolling section
* Removed widthFixed requirement
* Update RTL support
* Fix column alignment. Fixes #913
* Fix mousewheel scrolling in Firefox. See #135
* Fix filter returning zero to few rows
* Integrate with pager. Fixes #884
2015-05-28 11:36:37 -05:00
Mottie
a153bea128 RepeatHeaders: use selectorRemove option setting 2015-05-24 10:44:52 -05:00
Mottie
1554b6ae99 Scroller: Multiple tbody fix. See #913
* Removed global window resizeEnd variable
* Removed or completely hide extra elements in fixed column
* Hover highlight delays only added for Firefox
* Properly adjust fixed column cell widths
* I know, not an atomic update :(
2015-05-22 23:16:41 -05:00
Mottie
1880d775ef resizable + stickyHeaders: replace window resize trigger. Fixes #912 2015-05-21 18:34:59 -05:00
Mottie
06d69c75b3 Scroller: Fix slow fixed column scrolling in Firefox. See #135 2015-05-21 12:42:42 -05:00
Mottie
0bfe3099da Scroller: remove colgroup & hidden elements in fixed column 2015-05-21 11:06:13 -05:00
Justin F. Hallett
9f9b36c751 ; not , in css 2015-05-19 16:11:56 -06:00
Mottie
f07e70ed0b Filter: numeric column queries no longer force a search in parsed content 2015-05-17 23:00:21 -05:00
Mottie
13e3d0593d version bump 2015-05-17 15:32:53 -05:00
Mottie
1a6cc91e91 Scroller: add scroller_addFixedOverlay option 2015-05-17 12:42:19 -05:00
Mottie
8d2abbba32 Core & pager: replace remaining jQuery each function. Fixes #827 2015-05-17 11:10:49 -05:00
Mottie
ed321c20bd Scroller: refresh column sizes after update; see #906 (issue 3) 2015-05-17 09:37:04 -05:00
Mottie
4912c556de Scroller: fix selector issue in remove function 2015-05-17 09:23:02 -05:00
Mottie
4468c1fb87 Editable: remove widget & dynamic update of no-edit class. Fixes #900 2015-05-16 18:19:12 -05:00
Mottie
8c2844b0ce Filter: prevent setFilter setting same filters after update. Fixes #903 & #733 2015-05-16 17:35:54 -05:00
Mottie
f5550fbee0 Filter: code cleanup to make it more readable 2015-05-16 17:13:17 -05:00
Mottie
9a67c022c4 Filter: add filter_childByColumn option. Fixes #396 & #574 2015-05-14 21:32:41 -05:00
Justin F. Hallett
6e2750bc83 now an extra quote, just take away my KB right now 2015-05-13 20:32:44 -06:00
Justin F. Hallett
1a6329ab3b Needs both to superceed the next line 2015-05-13 20:27:51 -06:00
Justin F. Hallett
0e928d03ad OMG forgot a , 2015-05-13 20:24:42 -06:00
Justin F. Hallett
e99b8d20bd Order is important here 2015-05-13 19:00:40 -06:00
Justin F. Hallett
263e22ffd0 Yup no more cut and paste fo 2015-05-13 18:15:04 -06:00
Justin F. Hallett
e1c12c4809 Fixed css, this is why I don't cut and paste 2015-05-13 12:00:21 -06:00
Justin F. Hallett
d7b71dba0e Add panel over Fixed columns, no style this is up to the dev to style 2015-05-13 11:44:53 -06:00
Mottie
dcf4b01edf Filter: clean up parseFilter function 2015-05-13 07:44:58 -05:00
Mottie
159a72501c Filter: operator search ignores empty strings
because "" < 10 is true
2015-05-13 07:41:55 -05:00
Mottie
eadfe2980b Filter: don't save column specific any matches to storage 2015-05-12 22:35:22 -05:00
Mottie
7d2acb883b Math: exclude ignored cells even if math_ignore is empty. Fixes #896 2015-05-07 07:53:37 -05:00
Mottie
3fc40eb688 Math: reduce update time to 20ms. See #898 2015-05-07 07:42:57 -05:00
Mottie
f54786e04d Editable: only make cell child div/span contenteditable. See #900 2015-05-06 15:16:43 -05:00
Mottie
b591583669 Filter: add data parameter to filter_functions. See #891 2015-05-05 23:44:06 -05:00
Mottie
a327084b16 Filter: Regex search update. See #891
Regex is now cached (per search) to optimize speed & it now properly uses case-sensitive content
2015-05-05 22:17:14 -05:00
Mottie
b3203505cc Math: reapply column indexing after updates & prevent js error on empty tables. Fixes #889 2015-04-30 08:04:24 -05:00
Mottie
21703a663a Scroller: setFixedColumnSize updates with no set size 2015-04-27 22:13:01 -05:00
Mottie
45cb86ed57 Editable: Fix selectAll & change tbody mouseleave to thead mouseenter. Fixes #848 2015-04-26 09:35:43 -05:00
Mottie
9a178c05b2 Editable: modify trimContent option & use html to modify text. Fixes #886 2015-04-25 22:25:12 -05:00
Mottie
4a07c9ea40 Scroller: pointer events & tabbing. See #135
* Pointer events are now disabled on the fixed column wrapper only.
* Tabbing through fixed column elements now properly ignores visually hidden header cells.
2015-04-24 11:15:54 -05:00
Mottie
7386b80fd7 Scroller: hide fixed column scrollbar in IE9 & older. See #135 2015-04-24 07:50:19 -05:00
Mottie
bdcf28ab47 Scroller: remove pointer-events none from fixed column. See #878 2015-04-23 08:13:06 -05:00
Mottie
dc457f7462 Scroller: overflow-x auto & apply border-box to scroller. See #135 2015-04-23 08:06:17 -05:00
Mottie
4c2695030b Resizable: refreshing the widget will now preserve the storage. See #874 2015-04-16 10:07:25 -05:00
Mottie
9bee1805b2 Math: fix issues with isNaN("") = false. See #873 2015-04-16 07:52:33 -05:00
Mottie
d19985e517 Output: add output_hiddenColumns option. Fixes #869 2015-04-13 07:49:28 -05:00
Mottie
a4bb1497f0 Grouping: add keyboard accessibility to group headers. See #260 2015-04-09 15:00:10 -05:00
Mottie
1ccb713f2b Widgets: modify ts variable definition. See #866 2015-04-09 09:26:49 -05:00
Mottie
12a35e0ac8 Output: Add BOM back to downloaded file. Fixes #862 2015-04-08 12:21:33 -05:00
Mottie
5065356bf8 Resizable: handles properly align in tables with margins. Fixes #864 2015-04-07 23:50:22 -05:00
Mottie
cfc18ac71b Filter: allow setting filter_selectSource with filter_functions
See http://jsfiddle.net/Mottie/856bzzeL/117/
2015-04-07 22:12:53 -05:00
Mottie
cd98f306bb Filter: cache main loop variables 2015-04-07 11:33:56 -05:00
Mottie
c2c4f8d8a0 Resizable: Second attempt @ fixing #859 2015-04-02 18:49:52 -05:00
Mottie
318e398019 Scroller: apply on initialization. Fixes #860 2015-04-02 18:46:19 -05:00
Mottie
bbaa88ab98 Resizable: integrate with columnSelector. See #859 2015-04-02 09:56:05 -05:00
Mottie
263aa97e66 Build: add combined file with selected widgets & parsers. See #855
NOTE: the core js/jquery.tablesorter.js file is no longer UMD wrapped!; this is done by the build process now

Updated various parser & widget comments
2015-03-28 15:03:50 -05:00
Mottie
6f524ccef6 version bump 2015-03-26 10:48:43 -05:00
Mottie
d8abaadc29 Storage: add a bunch of storage widget options. Fixes #851 2015-03-25 20:24:35 -05:00
Mottie
a840a4e7ff Pager: remove "refreshComplete" bind on destroy. See #854 2015-03-25 20:24:35 -05:00
Mottie
673d7cbbb5 Resizable: major overhaul! Now compatible with stickyHeaders 2015-03-25 20:24:28 -05:00
Mottie
a09f151104 Scroller: Add fixed column support. Fixes #135
Also #689, #763 and #804
2015-03-25 12:09:29 -05:00
Mottie
90909a6f52 Pager: make pagerUpdate method page parameter optional 2015-03-25 11:16:55 -05:00
Mottie
c82280e598 Global: removed c.$extraTables & c.$extraHeaders
These variables were causing memory leaks
2015-03-25 00:52:29 -05:00
Mottie
903b834222 Select2 widget: escape forward slashes 2015-03-24 15:08:55 -05:00
Mottie
16dd744bcc Filter: make "disabled" a modifiable class name 2015-03-24 13:29:41 -05:00
Mottie
7f37b90ebd General code cleanup
Also replace instances of tagName with nodeName
2015-03-23 16:08:07 -05:00
Mottie
1a0e2d9d67 Output: Minor code tweak 2015-03-17 12:13:44 -05:00
Mottie
96b0bb7f4c Output: change carriage returns & tabs to work with Excel. Fixes #845 2015-03-13 12:15:19 -05:00
Mottie
d8417c595a uitheme: Add icon classes while using stickyHeaders. See #842 2015-03-12 11:21:28 -05:00
Mottie
888f518b29 Pager: don't recalculate total rows/pages if using ajax 2015-03-11 19:21:26 -05:00
Mottie
c17968f52a Editable: fix editable not updating on update/pager complete 2015-03-11 18:57:35 -05:00
Mottie
979b3e5ddc Filter: prevent error if parseFilter returns NaN
It all depends on what the parser returns; some custom parsers may not take all situations into account
2015-03-11 17:32:24 -05:00
Mottie
1dad33db49 Scroller: properly adjust column widths. Fixes #836 2015-03-10 11:41:40 -05:00
Mottie
403d831fc0 version bump 2015-03-05 10:10:57 -06:00
Mottie
ada1bbd898 Filter: stop using toggle/show
A row with display:table-row cannot be hidden with css, so collapsing a grouping widget group will not work, see http://stackoverflow.com/q/28868227/145346
2015-03-05 09:28:23 -06:00
Mottie
0fd72c06b7 Grouping: fix js error 2015-03-05 09:28:23 -06:00
Mottie
e4bea3987a Core & Grouping: Apply widget options before parsing
This allows parsers to use widget options, like the group_checkbox settings
2015-03-05 09:28:16 -06:00
Mottie
5306f824f4 Filter: redefine filter formatter 2015-03-02 11:27:14 -06:00
Mottie
37e7718ebe Filter: extend filterFormatter functions 2015-03-02 11:16:08 -06:00
Mottie
c17aa829e6 Debug: update debug logging
pager, columnSelector & filter
2015-02-27 17:37:14 -06:00
Mottie
a69a746fdf Core: merge in modified addInstanceMethods. Closes #826
Removed `$columnHeader` & replaced it with new `$headerIndexed` variable
2015-02-27 14:33:27 -06:00
Mottie
4171325819 Merge branch 'addInstanceMethods' of https://github.com/prijutme4ty/tablesorter into instance
Conflicts:
	js/jquery.tablesorter.js
	js/widgets/widget-filter.js
2015-02-27 06:56:53 -06:00
Mottie
c93ee7ceef StickyHeaders: add sticky header hidden class & modal demo links. Closes #832
position relative is only added if no position attribute is set
2015-02-26 17:52:31 -06:00
Mottie
d3170096b2 Filter: External filters can set initial values. Fixes #831
An empty string is better than an undefined filter
2015-02-26 08:30:09 -06:00
Mottie
873f6d2ee2 Optimizations: replace arrays using $.each with for loops. See #827 2015-02-25 18:44:36 -06:00
Mottie
4f3a7bc470 Output: add output_includeFooter option
See http://stackoverflow.com/q/28711187/145346
2015-02-25 13:12:51 -06:00
prijutme4ty
c71e8f6220 Added $.tablesorter.addInstanceMethods function which allows one
to define config object instance methods.

Refactored getting the column header using config-object method $columnHeader.
2015-02-25 17:21:02 +03:00
Mottie
c18d927d2c Scroller: add missing tfoot rows. Fixes #825 2015-02-24 01:21:58 -06:00
Mottie
68d6364a03 StickyHeaders: works with full height wrapper. Fixes #564 2015-02-24 00:04:52 -06:00
Mottie
7435c09379 Filter/parser: add insideRange file & add date range parsers 2015-02-24 00:00:52 -06:00
Mottie
1972857048 Filter: add config parameter to filter functions 2015-02-23 22:28:14 -06:00
Mottie
97d3caaffa Filter: Fix major issue with filter widget
Odd that the qunit test during the grunt build did not catch it!
2015-02-20 19:35:41 -06:00
Mottie
c0911bc7ca Filter: copied MaksimProgr changes & updates to widget-filter.js 2015-02-20 16:38:11 -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
Mottie
2b1b0167e7 Filter: merge changes from prijutme4ty into separated filter widget 2015-02-20 14:32:36 -06:00
Mottie
df5276238e Filter: ensure anymatch is a string value 2015-02-20 14:17:49 -06:00
Mottie
d78f3b032b Filter: prevent error when using anymatch & no external input 2015-02-20 14:16:42 -06:00
Mottie
b9b09922a3 Merge branch 'working' into build 2015-02-20 10:54:52 -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
2774abf8d8 Build: Add grunt build process
Rearranged, renamed & broke apart other files
2015-02-12 21:10:38 -06: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
624af67ab0 StaticRow: add staticRow_event option 2015-02-09 17:13:21 -06:00
Mottie
1de9c46e30 Math: add math_event option 2015-02-09 17:13:21 -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
Justin F. Hallett
c7a1678d48 trim should include the join, update bindings to delegate bindings 2015-02-09 13:38:32 -07:00
Justin F. Hallett
7c7797eaf0 Use trim instead of all the other fixes, turns out double space was the issue 2015-02-09 13:32:37 -07:00
Justin F. Hallett
d248d6c8db var init needs to be outside of the bind now, since it's used in other binds 2015-02-09 11:28:14 -07:00
Justin F. Hallett
3dc2530301 Don't unbind all ts tiggers, add tsmath namespace triggers to add and remove instead 2015-02-09 11:20:11 -07:00
Justin F. Hallett
c1c68f89fe Make sure remove happens on the right events, not on an undefined var 2015-02-09 11:07:46 -07:00
Mottie
9b32f0c5f6 version bump 2015-02-07 00:46:44 -06:00
Mottie
f6b33cc367 Docs: updates & removed some widgets from beta 2015-02-06 23:04:28 -06:00
Mottie
48d6ba5007 Charts: Add chart_event option, provide other data formats & add demo 2015-02-06 22:48:21 -06:00
Mottie
485b515066 Dragtable: make compatible with other widgets 2015-02-06 11:51:13 -06:00
Mottie
135d86a704 Formatter: speed optimizations 2015-02-05 15:12:38 -06:00
Mottie
1b91228cdc Formatter: detach tbody before processing 2015-02-05 14:35:27 -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
e42bfdfafa Formatter: Add formatter_event & bind to pagerComplete 2015-02-05 13:04:56 -06:00
Mottie
0e72504e87 Formatter: Add table cell formatting widget. See #812 2015-02-04 15:41:27 -06:00
Mottie
1ffd4a0a20 Pager: update goto independently of other elements. Fixes #811 2015-02-04 07:29:07 -06:00
Mottie
e3558664f8 alignChar: don't add align character when no content is right of it 2015-02-02 07:59:53 -06:00
Mottie
6521510e97 Reflow: trim stored header text 2015-02-02 07:59:53 -06:00
Mottie
090ef374d3 Output: Fix trim spaces for header cells 2015-02-02 07:59:52 -06:00
Mottie
19b69c9ac3 Widgets: update remove function
columnSelector, cssStickyHeaders, pager, repeatHeaders, saveSort & stickyHeaders
2015-02-02 07:58:47 -06:00
Mottie
877dec004b Merge branch 'master' into working
Conflicts:
	js/widgets/widget-chart.js
2015-01-31 17:35:43 -06:00
Mottie
cedbf81c9c Print: ignore columnSelector auto setting when mediaquery option is disabled. Fixes #808
Replace columnSelector popup button element with a div because it doesn't work in Firefox - see http://jsfiddle.net/2tt25hbd/
2015-01-29 14:12:54 -06:00
Justin F. Hallett
828207b7fb filtred means not .filtered 2015-01-28 14:28:32 -07:00
Justin F. Hallett
cef5cc7b14 Fix sorting, still only 1 dimention 2015-01-28 13:26:51 -07:00
Justin F. Hallett
9c4de8a481 New Widget for charting plugins, this widget is basically just to extract data from the TS table and output it in an array format. Some process may be required but it can be injected into make charting plugins there after. 2015-01-28 11:55:11 -07:00
Justin F. Hallett
25c037abaa New Widget for charting plugins, this widget is basically just to extract data from the TS table and output it in an array format. Some process may be required but it can be injected into make charting plugins there after. 2015-01-28 11:52:09 -07:00
Mottie
8921894717 Pager: add cacheIndex variable & update docs
Added a pager variable section
2015-01-26 19:13:41 -06:00
Mottie
a63d67f41e ColumnSelector: change in "auto" now triggers a "columnUpdate" event 2015-01-26 17:01:58 -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
703fcc6212 ColumnSelector: refreshColumnSelector parameter can now set "auto" mode. Fixes #798 2015-01-22 07:37:34 -06:00
Mottie
3abce88fd8 Pager: Add "pagerUpdate" method to force a pager update. Fixes #801 2015-01-20 18:48:11 -06:00
Mottie
b3a7b82a67 ColumnSelector: columns array parameter added to refreshColumnSelector method. Fixes #798 2015-01-20 10:59:47 -06:00
Mottie
a50f5555a9 Storage & Build widget: pass "null" to $.parseJSON as a fallback. Fixes #586
Also change build widget example code to use dataType:"text" for csv data
2015-01-18 09:02:14 -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
bc85c32190 Scroller: resizing & browser zoom should now show proper widths. Fixes #680 & #634. 2015-01-15 07:59:20 -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
ff851938d7 ColumnSelector: fix column index issue, again 2014-12-25 07:09:55 -06:00
Mottie
cdb766f8d9 version bump 2014-12-22 21:12:59 -06:00
Mottie
5786b3eab3 ColumnSelector: fix column index issue 2014-12-22 21:04:26 -06:00
Mottie
9cd317070f Pager: ensure filteredRows gets updated before movetopage is called. Fixes #778 2014-12-22 20:44:29 -06:00
Mottie
2e8add1072 ColumnSelector: add columnSelector_cssChecked option 2014-11-26 21:40:47 -06:00
Justin F. Hallett
97a5e7ba97 Add 'columnUpdate' event when the columnSelector is updated 2014-11-11 00:31:41 -07:00
Mottie
5ef1781aba version bump 2014-11-07 19:32:10 -06:00
Mottie
e3afa93282 CssStickyHeaders: tables with a caption now work properly in Firefox 2014-11-07 17:32:43 -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
fcde1041be Merge branch 'master' into working 2014-11-01 15:46:32 -05:00
yelly
6ff8161699 Remove breakpoints sort
Sorting the breakpoints yields bad results if not all sizes are of the same length.
For instance, for the breakpoints [ '480px', '768px', '992px', '1200px', '1800px', '2200px' ], the first 3 sizes will be placed after the last 3, resulting in unexpected behaviour.
2014-11-01 21:27:39 +02: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
ce0cc960a4 cssStickyHeaders: fixed caption issue & nested tables now work in IE 2014-10-30 10:38:30 -05:00
Mottie
3b2742f475 version bump 2014-10-26 19:11:12 -05:00
Mottie
3e42e8bb74 StickyHeaders: works with nested tables & modified options. Fixes #724 2014-10-20 17:46:23 -05:00
Mottie
26963ef1b0 Pager: widget cleanup & only use last search data 2014-10-20 15:44:56 -05:00
Mottie
e649b0a63c Core: Add widgetClass option & fix debug logs for applying widgets. Fixes #743 2014-10-10 20:50:51 -05:00
Mottie
ad85121da0 Grouping: Add "monthyear" grouping to dates. Fixes #744 2014-10-09 21:26:13 -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
7a1a90232b columnSelector: col element now hidden with column. Fixes #740 2014-10-06 11:17:17 -05:00
Mottie
c13d0f65f5 columnSelector: prevent adding a media query when no priorities are set 2014-10-04 11:15:38 -05:00
Mottie
de81f11032 Scroller: remove scroller_idPrefix in lieu of unique namespace id 2014-10-02 12:10:21 -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
b261356baf Editable: make updatable. Fixes #732 2014-09-27 23:12:13 -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
d0ed9d1fa7 Switch form focus to focusout, this allows the focus to stay if the cursor leaves the table, though it will commit the change and refocus 2014-09-08 16:31:46 -06:00
Mottie
f1e32a26fe Editable: Add editable_trimContent option 2014-09-02 15:29:28 -05:00
Mottie
d4a5cc196a Editable: refocus edited element after resort only 2014-08-28 16:06:18 -05:00
Mottie
dbecda238c Editable: trim everything! & revert widget changes 2014-08-27 18:06:22 -05:00
Mottie
10215591c2 Editable: all text callback parameters are now trimmed 2014-08-27 17:26:20 -05:00
Mottie
3bf7700fec Editable: validate function now includes a contenteditable element parameter 2014-08-27 15:05:01 -05:00
Justin F. Hallett
a6e8fcc84b Fix extra bracket and space 2014-08-27 09:15:52 -06:00
Mottie
ebd2edb040 Editable: Add editable_wrapContent option 2014-08-26 19:24:43 -05:00
Mottie
3a290109ef Editable: Add editable_focus, editable_blur, and editable_selectAll options. See #708 2014-08-26 16:19:47 -05:00
Mottie
8ddd3c76f2 Editable: update validate function to allow setting it per column 2014-08-26 14:23:13 -05:00
Mottie
1606cca123 Editable: autoresort true no longer breaks the table 2014-08-26 13:33:56 -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
6e44cc9590 Editable: add autoAccept & validate options 2014-07-27 19:28:08 -05:00
Mottie
294f377e4f Editable: limit array columns
related? http://stackoverflow.com/q/24947995/145346
2014-07-25 07:50:36 -05:00
Mottie
39e91a5733 Pager: output can now add user modifiable startRow or page inputs 2014-07-22 07:42:15 -05:00
scratcher28
cd54cbdfd3 editable_columns type check 2014-07-22 14:45:38 +04:00
Mottie
e861f6c3fc Cleanup & version bump 2014-07-17 12:40:11 -05:00
Mottie
c9c11a8495 Output: update method to allow downloads without modifying htaccess. Fixes #681 2014-07-15 21:19:47 -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
3b4cd54c61 Scroller: add scroller_upAfterSort option. Fixes #660 2014-06-26 12:09:59 -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
2bd55b3a5b Static: static rows now manipulated within a detached tbody
updated demo to allow the user to toggle static rows
2014-06-22 08:22:39 -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
826bed7e5d Scroller: change default scroll bar width to 18. Fixes #363 2014-06-18 14:48:13 -05:00
Mottie
46f2561f32 Scroller: behaves properly with overflow scroll & column alignment. Fixes #340 & #333 2014-06-18 14:48:13 -05:00
Mottie
ba7a0de1b8 Scroller: Set column widths are now maintained. Fixes #634 & #380 2014-06-18 14:48:00 -05:00
Mottie
6042a3ae26 Pager: correctly detach and append jQuery rows. Fixes #650 2014-06-16 22:36:08 -05:00
Mottie
65c9fa40c2 Print: change jQuery requirement to v1.2+ 2014-06-11 21:41:40 -05:00
Mottie
9b4ce42286 Print: popup now automatically closes with print dialog. Fixes #643 2014-06-11 21:39:55 -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
9375ce6b1f Scroller: thead width now set in IE. Fixes #637 2014-06-03 07:16:00 -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
3d6b03037b Math: values are now obtained from data-attributes first 2014-05-26 17:04:50 -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
acbf44d892 Math: now works properly with the pager. Fixes #621 2014-05-21 12:19:44 -05:00
Mottie
c429a0aa0a Output: add duplicate spans option. Fixes #619 2014-05-20 21:40:57 -05:00
Mottie
063f109659 Scroller: filter widget works with scroller again. Fixes #620 2014-05-20 20:49:19 -05:00
Mottie
1d3e7d9702 columnSelector: refreshColumnSelector no longer dependent on breakpoints 2014-05-20 20:47:55 -05:00
Mottie
485ab53e18 columnSelector: add refreshColumnSelector method 2014-05-18 13:14:48 -05:00
Mottie
4627f214b8 Core: Refer headers option by header class/id 2014-05-16 13:38:55 -05:00
Mottie
05f9dbf4e7 columnSelect: fix remove error 2014-05-16 13:37:13 -05:00
Mottie
9c0017d44e Core & pager: use detach instead of empty on tbody rows 2014-05-08 12:07:13 -05:00
Mottie
acefd269f9 Output: add config parameter to output_callback 2014-05-07 11:46:26 -05:00
Mottie
41be62bb32 Output: add output_ignoreColumns option. Fixes #607 2014-05-06 10:59:35 -05:00
Mottie
346587f4bc Print: add print_callback option 2014-05-06 10:23:48 -05:00
Mottie
35ec1d87eb version bump & cleanup jsHint errors 2014-05-05 20:52:17 -05:00
Mottie
c92a55750f Add print widget
updated columnSelector to work as a print stylesheet
2014-05-05 19:46:01 -05:00
Mottie
6b2db42a73 cssStickyHeader: add filteredToTop option 2014-05-05 13:25:37 -05:00
Mottie
7650508932 Output: add output_encoding option for accented character support in Excel
See http://stackoverflow.com/q/23388490/145346
2014-05-04 17:43:55 -05:00
Mottie
ca5e6beb19 Add math prefix & suffix options 2014-05-03 13:58:25 -05:00
Mottie
f4cded6c6c version bump 2014-04-27 11:01:58 -05:00
Mottie
7278ff91a4 Add internal config.$extraHeaders variable
Updated uitheme, stickyHeaders & scroller widgets
2014-04-27 08:04:39 -05:00
Mottie
f57f73f5ea Math widget: add data-math-mask for each cell & update doc versions 2014-04-24 22:20:11 -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
d1426ad1c5 Build widget now works with HTML in the data 2014-04-23 00:49:48 -05:00
Mottie
3a12af8e85 version bump 2014-04-22 09:39:57 -05:00
Mottie
21b205dcd3 Static row widget works with multi-tbodies 2014-04-22 09:23:41 -05:00
Mottie
6d068d347d version bump 2014-04-20 19:39:59 -05:00
Mottie
a8b253b597 Add static row widget. Fixes #120 & #472 2014-04-20 18:36:04 -05:00
Mottie
323bc5e89b Add output widget 2014-04-20 18:36:01 -05:00
Mottie
cdb5dc6863 Add math widget. Fixes #136 2014-04-20 18:35:57 -05:00
Mottie
d7fb54ffda Add reflow widget. Fixes #165 2014-04-20 18:35:51 -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
8f5a7a920d Scroller widget: update to work with filter widget. Fixes #584 & 370 2014-04-18 11:11:05 -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