阅读背景:

Bootstrap 框架 排序时的传值 与 获得这一行的值(防老年痴呆)_Ai卿的博客

来源:互联网 

a标签,单个传值: 

  
       field: 'empNo',
       title: '员工工号',
       sortable: true,
       sortName: 'empNo',
       formatter:function(value, row , index){
           value = jp.unescapeHTML(value);
      <c:choose>
         <c:when test="${fns:hasPermission('hrm:hrWelfare:edit')}">
                        return "<a href='/go.html?url=javascript:edit(\""+row.id+"\",\""+row.auditStatus+"\")'>"+value+"</a>";
        </c:when>
        <c:when test="${fns:hasPermission('hrm:hrWelfare:view')}">
            return "<a href='/go.html?url=javascript:view(\""+row.id+"\")'>"+value+"</a>";
         </c:when>
        <c:otherwise>
            return value;
         </c:otherwise>
      </c:choose>
        }
      
     
       field: 'empNo',
    



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: