【发布时间】:2013-03-25 06:29:42
【问题描述】:
我已经使用“sortable=true”对 displaytag 中的列进行了排序...但是我想在列的最右侧显示排序图标...我该怎么做? 这里只提一栏供大家参考……
<display:column property="issuerName" scope="col" sortable="true" title="${issuerName}" headerClass="hixTableHeader" class="displayTagtd" />
CSS 代码:
th.sortable a {
background-image: url(../images/common/header/arrow_off.png);
background-repeat: no-repeat;
background-position:right;
text-decoration: none;
padding-right:25px;
padding-left: 25px;
}
th.order1 a{
background-image: url(../images/common/header/arrow_down.png);
background-position:right;
background-repeat: no-repeat;
text-decoration: none;
padding-right:25px;
padding-left: 25px;
}
th.order2 a{
background-image: url(../images/common/header/arrow_up.png);
background-repeat: no-repeat;
text-decoration: none;
background-position:right;
padding-right:25px;
padding-left: 25px;
}
【问题讨论】:
标签: java css jsp jquery-ui-sortable displaytag