首页 > 其他 > 详细

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

时间:2017-06-14 09:13:33      阅读:322      评论:0      收藏:0      [点我收藏+]

{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");
 }

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

原文:http://www.cnblogs.com/liwentao/p/7007059.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!