行一恒  

2013年8月30日

摘要: makeTreeData:function(root){ var me=this,recordName=this.record,data=[],node,length,i ; function getTree(records,id){ var c=[]; Ext.Array.forEach(records,function(item,index,array){ if(item["ParentId"]==id){ item[me.root]=getTree(records,item["TemplateId"]); c.push(item); } }); r 阅读全文
posted @ 2013-08-30 14:50 行一恒 阅读(209) 评论(0) 推荐(0)
 
摘要: http://www.justep.com/studio.html 模仿和学习 阅读全文
posted @ 2013-08-30 10:04 行一恒 阅读(113) 评论(0) 推荐(0)