easyui在table单元格中添加进度条

function XR_jd(alue, rowData, rowIndex){
       var value;
        ......
       var htmlstr = '<div class="easyui-progressbar progressbar" style="width: 100%; height: 20px;" value="' + value + '" text="' + value + '%">' +
        '<div class="progressbar-text" style="width: 100%; height: 20px; line-height: 20px;">' + value + '%</div>' +
            '<div class="progressbar-value" style="width: ' + value + '%; height: 20px; line-height: 20px;">' +
                '<div class="progressbar-text" style="width: 100%; height: 20px; line-height: 20px;">' + value + '%</div>' +
            '</div>' +
        '</div>';
        return htmlstr;
}

 

posted @ 2017-04-07 14:29  雷雨天的雷胖子  阅读(973)  评论(0编辑  收藏  举报