Tablesorter - 一周中的几天
我试图让表排序器在一列中以正确的顺序列出一周中的几天。目前它只是按字母顺序对它们进行排序。我认为自定义解析器是一种可能的方法,但在查看表排序器网站上的示例后,我没有运气让它发挥作用。
我在论坛和博客上进行了多次搜索,但似乎找不到专门介绍此内容的人。我猜这对于开发人员来说可能是一个相当简单的解决方案,但对于我作为一个对此领域知识非常有限的设计师来说却是一个很大的头痛。
任何帮助或建议都会非常有帮助,
谢谢
I'm trying to get tablesorter to list the days of the week in correct order in a column. It currently just sorts them alphabetically. I gather a custom parser is one possible approach but I've had no luck in getting this to work after looking at the examples on the tablesorter website.
I've searched high and low on forums and blogs but can't seem to find anyone who has covered this specifically. I'm guessing it's probably a fairly simple solution for a developer but is proving a big headache for me as a designer with very limited knowledge of this area.
Any help or advice would be hugely helpful,
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试添加一个解析器,就像这个人在这里所做的那样:http://jsbin.com/enata/edit
这里也是一篇文章:
http://www. Terminally-incoherent.com/blog/2008/09/29/jquery-tablesorter-list-of-builtin-parserssorters/
try adding a parser like this guy does in here: http://jsbin.com/enata/edit
here is an article too:
http://www.terminally-incoherent.com/blog/2008/09/29/jquery-tablesorter-list-of-builtin-parserssorters/