改进 web.layout.behavior.sortableGrid 支持双向排序、重复排序,CSS中自动改变箭头方向示例:
table th:checked[order=down] { foreground-image: url(stock:arrow-up); foreground-repeat: no-repeat; foreground-position-top: 50%; foreground-position-right: 5px; }
table th:checked[order=up] { foreground-image: url(stock:arrow-down); foreground-repeat: no-repeat; foreground-position-top: 50%; foreground-position-right: 5px; }