标签:pager logs idt row width records blog tar oda
有时,为美观效应,需要设置jqgrid隔行换色。jqgrid提供altRows属性来配置
启动隔行换色:altRows: true,//隔行换色
$("#filterGrid").jqGrid({ altRows: true,//隔行换色 data: newFilterArr, editurl: ‘clientArray‘, styleUI: ‘Bootstrap‘, datatype: "local", page: 1, colModel: colArr, loadonce: false, viewrecords: true, shrinkToFit: false, autoScroll: false, height: window.innerHeight * 0.6, width: $(".modal-body").width(), // autowidth: true, pager: "#filterGridPager" });
标签:pager logs idt row width records blog tar oda
原文地址:http://www.cnblogs.com/senyier/p/7308225.html