PDA

View Full Version : How to get all child components from a parent container and hide them



kishorekumar10
31 Jan 2014, 6:20 PM
I need to get all child components from a parent container and hide them. Please let me know how to this.

scottmartin
2 Feb 2014, 8:52 PM
You could look for each item:

Make sure to suspend/resume the layout to speed things up.



myPanel.items.each(function(c) {
c.setVisible(true);
})