8000 Enhancement: Multiple Column sort using meta data · Issue #236 · Mottie/tablesorter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Enhancement: Multiple Column sort using meta data #236
Closed
@johnjiang

Description

@johnjiang

So I was thinking of a feature that combines sortAppend with sortlist.

<thead>
    <tr>
      <th>First Name</th>
      <th class="{sortlist: [[0,0]]}">Last Name</th>
      <th class="{sortlist: [[1,0], [0,0]]}">Age</th>
      <th>Total</th>
      <th>Discount</th>
      <th>Date</th>
    </tr>
  </thead>

So if I sort by age, it'll also multisort on last name and firstname. If I sort by last name it'll sort on firstname.

I couldn't see anything in the documentation that does this.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0