Tiny Table,如何根据两列进行初始排序

Tiny Table, how to initially sort based on two columns

我正在使用 tiny table V3 对 table 进行排序,并在 table.

顶部包含一个搜索框

目前正在根据列名 i,e 列 1 进行排序 这是工作 fiddle,下面的 http://jsfiddle.net/2vdh2ac8/3/ 是我根据名称排序后得到的结果。

no. name    due date    comment
97  bob     01/16   this is a comment
912 daisy   01/14   this is a comment
15  hahaza  09/16   this is a comment
234 hoppy   01/16   this is a comment
56  ishmael 02/18   this is a comment
24  john    04/16   this is a comment
43  john    01/16   this is a comment
365 kindle  05/15   this is a comment
123 pickpic 06/16   this is a comment

我想要实现的是,在根据名称排序后,如果名称重复,那么我必须根据截止日期对这些名称进行排序。 例如,john 在 table 中出现了两次,因此我需要如下输出

no. name    due date    comment
97  bob     01/16   this is a comment
912 daisy   01/14   this is a comment
15  hahaza  09/16   this is a comment
234 hoppy   01/16   this is a comment
56  ishmael 02/18   this is a comment
43  john    01/16   this is a comment
24  john    04/16   this is a comment
365 kindle  05/15   this is a comment
123 pickpic 06/16   this is a comment 

需要帮助来弄清楚如何去做。

下载 source code of the plugin and running it through jsbeautifier 后取消缩小以便我可以阅读,看来您想要实现的目标无法使用此插件实现。

排序列的选项需要一个整数并且只能处理它。

我想你最好的机会是要么不支持对多列进行排序,要么寻找另一个包含此功能的插件。