Advertisement

easyui datagrid 与 progressbar 集成

阅读量:
复制代码
 <script>

    
     function demobar(value, rowData, rowIndex) {
    
 	var demostr = "<div class='easyui-progressbar progressbar easyui-fluid' style='width:398px'><div class='progressbar-text' style='width:398px;'>"+ value + "</div><div class='progressbar-value'  style='width:"+ value + ";background-color:#CCC'> </div></div>";
    
 	return demostr;
    
 	
    
 }
    
 $(function() {
    
 	$('#demo').datagrid( {
    
 		url : 'datagrid_progressbar.json',
    
 		columns : [ [ {
    
 			fi

全部评论 (0)

还没有任何评论哟~