标签:i++ var post function easyui creat column build action
$.post(‘${createLink(action:"build Columns url ")}‘, params, function(data){
var columns = [];
var col = [];
for(var i=0; i< data.length; i++){
var v = data;
var c = {title:v.title, field:v.field, width:90};
col.push(c);
}
columns[0] = col;
$(‘#datagrid‘).datagrid({columns:columns});
},"json");
标签:i++ var post function easyui creat column build action
原文地址:http://www.cnblogs.com/huangf714/p/6229278.html