I got exactly the same problem as http://www.sencha.com/forum/showthread.php?140992-Ext.define-and-the-Scope and unfortunately there's no clear answer on the thread.
I know that scope:this
won't work since it will only change the scope from the button to the window, and based on my search and the suggestion given on the thread, I conclude that the only solution is
- define the alias when extending grid panel.
- traverse the DOM using
this.up('alias')
to get the grid panel.
Is it really the only solution? Thanks.