当前位置: 代码迷 >> Web前端 >> Ext批改Grid行高
  详细解决方案

Ext批改Grid行高

热度:95   发布时间:2012-09-10 11:02:32.0
Ext修改Grid行高

就在你需要修改行高的页面上重写它的样式就可以了
第一种查到的方法:
   
可以在页面中重载x-grid3-row样式:
    <style type="text/css">
        .x-grid3-row{
            height:80px;
        }
    </style>
这样,对这个页面的所有GRID都有默认的行高了。


第二中查到的方案:
   <style type="text/css">
.x-grid3-row td,.x-grid3-summary-row td{
line-height:25px;//控制GRID单元格高度
vertical-align:center;//单元格垂直居中
border-right: 1px solid #eceff6 !important;//控制表格列线
border-top: 1px solid #eceff6 !important;//控制表格行线
}
    </style>

  相关解决方案