View Full Version : [CLOSED] Common scope for multiple listeners of one component

Nov 20, 2014, 11:46 AM

I have multiple listeners of one component. For example GridPanel with BeforeRender, AfterRender listeners:

<AfterRender Fn="my_scope.afterRender" Scope="my_scope" />
<BeforeRender Fn="my_scope.beforeRender" Scope="my_scope" />

Is there a way (not only for GridPanel but other components too) to set the Scope="my_scope" globally? That would be nice not to repeat it in every Listener.

Thank you,

Nov 20, 2014, 2:06 PM
Hi @matt,

Agree, it would be useful to have, but, unfortunately, there is no such a setting.