`
zhengzihui
  • 浏览: 11071 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

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>

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics