Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tbodysort widget enhancement. #1312

Merged
merged 5 commits into from
Nov 17, 2016
Merged

Tbodysort widget enhancement. #1312

merged 5 commits into from
Nov 17, 2016

Commits on Nov 17, 2016

  1. 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>.
    cm-rogers committed Nov 17, 2016
    Configuration menu
    Copy the full SHA
    e2ec19a View commit details
    Browse the repository at this point in the history
  2. The new lockHead option now used the sortTbody_primaryRow value ins…

    …tead 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.
    cm-rogers committed Nov 17, 2016
    Configuration menu
    Copy the full SHA
    3ad2fe4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    51d66cd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    991d494 View commit details
    Browse the repository at this point in the history
  5. Widget sortTbodies

      - Removed `lockHead` var since it's only used once
      - Ammended `sortEnd` condition
    cm-rogers committed Nov 17, 2016
    Configuration menu
    Copy the full SHA
    43b1cb5 View commit details
    Browse the repository at this point in the history