python - WxPython Grid: Clear Selected Row Data Based upon Popup Menu Selection -
i have wxpython grid trying clear data of current row based upon popup menu selection. binded popup menu definition clear data when click on selection nothing happens. here code snippet.
def clearcurrentrow(self,event): self.grid.selectrow(self.grid.getgridcursorrow(),true) self.grid.clearselection()
any suggestions appreciated.
clear selection unselects row, might find quickest delete row , insert new one.
Comments
Post a Comment