-
Sencha User
Getting reference to parent view
I'm creating and pushing a view with a tabpanel that contains a list onto another view. On the tap event of the list (in the controller) I want to get reference to the main view, so that I can push another view. Is there a way to do that?
-
Sencha Premium Member
The first parameter that's passed in to your itemtap listener is a reference to the list itself. Call getParent() on that reference to get its parent
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules