easyui datagrid如何添加progressbar进度条

这篇文章将为大家详细讲解有关easyui datagrid如何添加progressbar进度条,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。

{field:'shtgl',title:'审核通过率',width:90,formatter:progressFormatter}

function progressFormatter(value,row,index){
	htmlstr='<div class="easyui-progressbar progressbar easyui-fluid" >'
		         +'<div class="progressbar-value" > '
		             +'<div class="progressbar-text" >'+ value +'</div>'
		         +'</div>'
	       +'</div>';
    return htmlstr;  
}

网上很多都是progressbar-text写在前面,progressbar-value写在后面,但是出不来效果。

在这里把他们互换一下就OK了 !真不知道网上的那些博主是怎么实现的???

easyui datagrid如何添加progressbar进度条

关于“easyui datagrid如何添加progressbar进度条”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。