开发者

jQuery tablesorter sort only certain rows/columns

开发者 https://www.devze.com 2023-01-21 08:04 出处:网络
I have a table where some rows have a class of \"parent\" and some have a class of \"child\". The \"child\" rows always appear under the \"parent\" and you can toggle their visibility. What I want to

I have a table where some rows have a class of "parent" and some have a class of "child". The "child" rows always appear under the "parent" and you can toggle their visibility. What I want to do is use tablesorter to sort only the parent rows based on their "Last Edit Date" column, right now the childrens' "Last Edit Date" column is 开发者_开发技巧getting sorted too and messing up the ordering.


See the answer to a similar question here:

Getting jQuery tablesorter to work with hidden/grouped table rows

The answer provides the following link:

http://www.pengoworks.com/workshop/jquery/tablesorter/tablesorter.htm

0

精彩评论

暂无评论...
验证码 换一张
取 消