Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Push View from Table View
-
How do you push a view from tableview? You can push a view from a button since it is a subclass of view, but tableview is a subclass of scrollview and it does not look like it is possible.
-
Isn't
ScrollView
aView
subclass? ThusTableView
should also inherit allView
properties. Also as far as I know the only kind of view supporting the push/pop functionality isNavigationView
, though I haven't used those much yet, so I can't help you with the details there, sorry. -
I think the problem is with listDataSource. When you link it to an action it does not support push view.
-
Why not put the table inside another view?
-
@JonB Thanks, I did put the table inside the navigation view.
I figured it out, when I had ListDataSource.action I was trying to send the action to push_view instead of NavigationView.push_view()