Perfect IT WORKS!!
now the problem is how to deselect all :D but i can get to it!
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.

Latest posts made by BobPeltonUK
-
RE: How to select all items in a table view? (iOS python ui on Pythonista)
-
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?
-
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)```
-
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.