beforeShow listener starts only when switching extjs component using show ()
afterRender is launched for each extjs component after it is rendered
Rendering happens before showing; it only makes sense that the component should already be displayed before it can be shown or hidden, etc.
/ extJS. , : ExtJS 4