4

I'm using ExtJs 4.2.2 with a single page application.
I have lots of workspaces and i want to make sure that i'm destroying all of the components when moving to a different workspace.
i'm using:

Ext.ComponentMgr.getCount()

but this just returns the number of components.
how can i query the component xtypes in the page?

2
  • try Ext.ComponentQuery.query('component') May 12, 2014 at 9:33
  • I want the entire list of components on this page. the same as count returns their count i want their xtype or id
    – peroxide
    May 12, 2014 at 10:21

1 Answer 1

6

This will show the entire component list

Ext.ComponentMgr.all.map

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.