Always On Top extension for Ext JS 4.x


This is a 4.x controller adding alwaysOnTop feature to floating components.
Version: 1.1 / Last changed date: 2011-12-22


The controller is quite simple and works by assigning a separate z-index manager for all floating components that have the property alwaysOnTop set to true.

Installation instructions:


Examining the source of the demo is always a good idea.
 

Ext.window.MessageBox


If you use the Ext.window.MessageBox class extensively and need all MessageBox windows to appear above all other components including those alwaysOnTop, then you can uncomment the following code in the controller and all Ext.window.MessageBox instances will then have the alwaysOnTop property set to true by default:

Ext.override(Ext.window.MessageBox, {
         alwaysOnTop: true
});