omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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

    Pythonista
    3
    5
    2620
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • bmccardle
      bmccardle last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • dgelessus
        dgelessus last edited by

        Isn't ScrollView a View subclass? Thus TableView should also inherit all View properties. Also as far as I know the only kind of view supporting the push/pop functionality is NavigationView, though I haven't used those much yet, so I can't help you with the details there, sorry.

        1 Reply Last reply Reply Quote 0
        • bmccardle
          bmccardle last edited by

          I think the problem is with listDataSource. When you link it to an action it does not support push view.

          1 Reply Last reply Reply Quote 0
          • JonB
            JonB last edited by

            Why not put the table inside another view?

            1 Reply Last reply Reply Quote 0
            • bmccardle
              bmccardle last edited by

              @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()

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB Forums | Contributors