[英]How to Fix Primefaces Datatable column width and implement inner cell scroll
我正在使用Primefaces(版本3.5)DataTable顯示某些數據。
如何讓我比,如果在固定同一row.?By保存列寬其他細胞中的數據超過了只有一個格滾動[ 我無法修復的列寬也 。
這是屏幕截圖:
請提出實現此目標的最佳方法,方法可能是截斷數據並在末尾添加...。 但是同樣,我無法固定列的寬度。
有css:
.ui-datatable thead th, .ui-datatable tbody td, .ui-datatable tfoot td {
white-space: nowrap;
}
將其更改為正常。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.