Commit Graph

12 Commits

Author SHA1 Message Date
Rob Garrison
03eeb2e819 Global: Add editor eslint & fix issues 2018-03-18 09:18:20 -05:00
Rob Garrison
920dd01baa Fix lint issues & version bump 2016-11-26 19:40:00 -06:00
Rob Garrison
e5c96b9b18 SortTbodies: add option & docs; see #1312 2016-11-18 04:56:03 -06:00
Chris Rogers
43979d44d9 Tbodysort widget enhancement. (#1312)
* Enhancement/LockTbodyHeader

Added two new variables to hold the lockhead option and the head row class (defined in cssHeader).
If the new widget option 'sortTbody_lockHead' is true, the header row will be moved back to the top of the <tbody> after sorting, this is intended to be used with the 'sortTbody_sortRows' option set to true.
This will allow the <tbody> and it's child rows to be sorted while keeping the header row at the top of the <tbody>.

* The new lockHead option now used the `sortTbody_primaryRow` value instead of the `cssHeader` value.
This means the new widget option can be used out-of-the-box, meaning the user won't need to change any default parameters in the js files.

* Changed setting to test old code.

* Roll back to master version.

* Widget sortTbodies
  - Removed `lockHead` var since it's only used once
  - Ammended `sortEnd` condition
2016-11-17 11:30:28 -06:00
Rob Garrison
fe23f7c0c1 version bump 2015-11-22 22:05:06 -06:00
Rob Garrison
7a89f5323e SortTbodies: use config parameter for numeric sorting. See #1082 2015-11-13 01:37:40 -06:00
Rob Garrison
1d813bd766 version bump 2015-10-31 11:06:09 -05:00
Rob Garrison
5d4529c37d Global: call internal functions directly; stop using trigger 2015-10-22 16:41:34 -05:00
Rob Garrison
726edc7c77 SortTbodies: moved config.strings defaults to $.tablesorter.strings
updated to match changes to core
2015-10-18 13:21:54 -05:00
Mottie
75de112ef6 Build: Add jscs checking & fix style issues
Thanks @Herst!
2015-07-22 23:29:51 -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