In a rich Internet application, it can be desirable to allow the user to have many windows open simultaneously, reviewing a variety of information without having to navigate to separate pages. Ext JS allows for this: you can create any number of non-modal windows and manipulate them as you see fit. However, we face a problem when using a multitude of windows—how do we manage them as a group? For example, the users may wish to clear their workspace by minimizing all open windows. We can achieve this functionality, and more, by using a window group.
When you create an Ext.Window
, it will automatically be assigned to a default Ext.WindowGroup
which, by default, can always be referred to via the Ext.WindowMgr
class. However, you can create as many additional WindowGroups
as your application requires, assigning windows to them via the manager
configuration option.
Why would your application require a method of grouping windows? Well, multiple...