omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. BobPeltonUK
    3. Posts

    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.


    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by BobPeltonUK

    • RE: How to select all items in a table view? (iOS python ui on Pythonista)

      Perfect IT WORKS!!
      now the problem is how to deselect all :D but i can get to it!

      posted in Pythonista
      BobPeltonUK
      BobPeltonUK
    • RE: How to select all items in a table view? (iOS python ui on Pythonista)

      Where do I put the tuple? It’s ok to iterate on datasource.items to select them?

      posted in Pythonista
      BobPeltonUK
      BobPeltonUK
    • RE: How to select all items in a table view? (iOS python ui on Pythonista)

      Here’s the def:

      def SelezionaTutti(sender):
      	chkbox=sender.superview['SwitchSelezionaTutti']
      	listview=sender.superview['DatiDaExcel']
      	if chkbox.value==True:
      		for i in listview.data_source.items:
      			listview.selected_rows.append(i)
      	elif chkbox.value==False:
      		listview.selectedindex=-1
      	print(listview.selected_rows)```
      posted in Pythonista
      BobPeltonUK
      BobPeltonUK
    • How to select all items in a table view? (iOS python ui on Pythonista)

      I tried really everything but no success,also tried to look for it in here and google but Nothing !

      Cycling all items and append them in the selected rows list has no effect!
      Thanks in advance.

      posted in Pythonista
      BobPeltonUK
      BobPeltonUK