Does anyone know how to reset the ListDataSource selection?
By default it is -1 ... no selection.
When we do an action, you can get the row number. Example:
ListDataSource.action = dostuff
def dostuff(sender):
sender.selected_row
But if I just do ListDataSource.selected_row = -1 it does nothing.
I can do a ListDataSource.reload() but that's not ideal because it could take precious processing power to reload my list. (for now this is what I've done)