PrimeFaces Scrollable DataTable

时间:2013-07-25 09:16:25

标签: primefaces datatable scrollable

我在使用scrollable="true"的PrimeFaces DataTable时遇到此问题,列收缩,列标题与列不对齐。我在StackOverflow上看到很多关于同样问题的帖子,但是无法得到解决方案,现在有没有人有解决方案???

<p:dataTable id="idDataTbl" 
styleClass="lineItemDataTableQS hightLines" draggableColumns="false"
binding="#{<someBean>.<dataTable>}"
scrollable="true" scrollHeight="150" 
rows="25" value="#{<someBean>.<dataModel>}" 
rowSelectListener="#{<someBean>.<methodCall>}" 
selectionMode="single" 
var="lineItemData" 
rowsPerPageTemplate="5,25" 
rowIndexVar="lineRowIndex" 
selection="#{quoteSummaryBackingBean.selectedlineItemRowsList}"> 
. 
. 
. 
. <lot of columns.. about 31> 
. 
. 
. 
</p:dataTable> 

我无法发布代码:(它在制作中我可能遇到麻烦,这里是数据表标记的代码,还有列。

0 个答案:

没有答案
相关问题