码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2017-06-14 10:14:40      阅读:216      评论:0      收藏:0      [点我收藏+]

标签:status   menu   roo   tle   width   row   top   数据   att   

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

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

标签:status   menu   roo   tle   width   row   top   数据   att   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!