extjs4 each简单用法

function fn(item, index, allItems) {//item是当前元素的内容,index是当前元素的序号,allItems是整个数组
var sinjson = Ext.encode(item.data);
alljson += sinjson;
}


Ext.each(j, fn);

原文地址:https://www.cnblogs.com/shadowtale/p/2963466.html