Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information