首页 > 代码库 > easyui在table单元格中添加进度条

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

function XR_jd(alue, rowData, rowIndex){
       var value;
        ......
       var htmlstr = <div class="easyui-progressbar progressbar" style="width: 100%; height: 20px;" value="http://www.mamicode.com/ + 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;
}

 

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