数据列的取到的值浮动变色

Posted 街角的守望者

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了数据列的取到的值浮动变色相关的知识,希望对你有一定的参考价值。

{field:‘productcode‘,sortable:true,title:‘<span style="width:100%;text-align:center">出厂编号</span>‘,width:100,align:‘left‘,
           formatter:function(value,row){
                  if(value==undefined){
                  }else{
                  var content = ‘<a href="javascript:void(0)" onclick="xyfzscq(\‘‘+value+‘\‘)">‘ + value + ‘</a>‘;
                          return content;
                  }
                    }
                },

 

 

function xyfzscq(value){
  <%-- window.open("<%=rootPath%>/icis/sup/sess/shebecanshuiInfoQuery.jsp?code=‘+value","_blank","top=100,left=100,width=700,height=500,menubar=yes,scrollbars=no,toolbar=yes,status=yes"); --%>
  var html="<%=rootPath%>/icis/sup/sess/shebecanshuiInfoQuery.jsp?code="+value+"&sjcc="+Math.random();
  window.open(html,"","height=400px,width=980px,status=yes,toolbar=no,menubar=no,location=no,top=90px,left=300px,scrollbars=yes");
 }

以上是关于数据列的取到的值浮动变色的主要内容,如果未能解决你的问题,请参考以下文章