song-java

jqgrid插件样式颜色都有默认设置,以下是自己总结的可以改变表格样式:

jqgrid使用需要引用ui.jqgrid.css文件,在此文件中可以改变表格样式

数据表格设置
.ui-jqgrid tr.jqgrow td{font-weight:normal;overflow:hidden;text-align:left;white-space:pre;height:50px;padding:0 2px 0 2px;}
标题设置
.ui-jqgrid .ui-jqgrid-titlebar{padding:.3em .2em .2em .3em;position:relative;border-left:0 none;border-right:0 none;border-top:0 none;background:rgb(0, 116, 87);}
底部翻页部分设置
.ui-jqgrid .ui-pg-table{position:relative;padding-bottom:2px;background:rgb(0, 116, 87);}
各行设置
.ui-jqgrid .ui-priority-secondary{background:#cff}
表头设置
.ui-jqgrid .ui-jqgrid-htable th{height:50px;padding:0 2px 0 2px;background:rgb(0, 116, 87);}

分类:

技术点:

相关文章:

  • 2021-11-16
  • 2021-12-14
  • 2021-09-04
  • 2021-10-24
  • 2021-12-31
  • 2021-05-24
  • 2021-05-25
  • 2021-10-25
猜你喜欢
  • 2022-01-02
  • 2021-04-03
  • 2021-05-20
  • 2021-12-26
  • 2021-11-04
  • 2021-11-19
  • 2021-11-06
相关资源
相似解决方案