1. 程式人生 > >jqgrid單元格內容過長 樣式處理

jqgrid單元格內容過長 樣式處理

1、自動處理為省略號

<style>

.ui-jqgrid tr.jqgrow td { text-overflow : ellipsis; }

</style>

2、自動換行:

<style>

.ui-jqgrid tr.jqgrow td { white-space: normal !important; height:auto; }

</style>