- for(var i = 0, len = this.itemCount; i < len; i++){\r
- var item = this.items[i];\r
- item.group = item.group || this.id;\r
- item.itemIndex = i;\r
- item.checkHandler = this.checkHandler;\r
- item.scope = this;\r
- item.checked = item.checked || false;\r
+ Ext.each(this.items, function(item, i){\r
+ Ext.apply(item, {\r
+ group: item.group || this.id,\r
+ itemIndex: i,\r
+ checkHandler: this.checkHandler,\r
+ scope: this,\r
+ checked: item.checked || false\r
+ });\r