polymerchm
Apr 18, 2015 - 20:24
lots of iOS tricks for this. Can it be done in pythonista iu modules? And/or a deselect all?
lots of iOS tricks for this. Can it be done in pythonista iu modules? And/or a deselect all?
#select
r = []
t = tuple([0, i]) #i=line
r.append(t)
self.view['tableview1'].selected_rows = r
#deselect
self.view['tableview1'].selected_rows = []
self.view['tableview1'].reload_data()
Annoyingly obvious. Assumed selected_rows was read only. Thanks.