PDA

View Full Version : How to loop through treestore each record



mylok
26 Jun 2015, 9:16 AM
How can I loop through TreeStore each record ? There is not 'each' function in TreeeStore method... :(

LesJ
26 Jun 2015, 11:46 AM
How can I loop through TreeStore each record ? There is not 'each' function in TreeeStore method... :(

root.cascadeBy() (http://docs.sencha.com/extjs/4.2.3/#!/api/Ext.data.NodeInterface-method-cascadeBy) should work for you.