Tapestry:如何在自定义Grid标头中保留排序功能?

时间:2013-05-23 09:48:23

标签: grid tapestry

我需要在Tapestry Grid列上自定义标题文本。这段代码就是这样,但它删除了排序功能

<table class="table table-striped" t:type="grid" t:source="data"
    t:rowsPerPage="50" t:pagerPosition="bottom">

    <p:specialHeader>Custom header</p:specialHeader>

</table>

Grid with custom header

如何将排序功能恢复到此自定义标头?

1 个答案:

答案 0 :(得分:2)

如果您只需要网格标题中的文本,则可以使用消息包:

special-label=Custom header
相关问题