Oct-03-2023, 12:54 PM
Quote:1. This '+CLICKED' in event is not working if I try as event1 == '+CLICKED+', As per your code it's working, but failing while closing with TypeError: argument of type 'NoneType' is not iterableLooks like you'll need to check if event[2] is None.
Quote:2. Question 2: If I select view it is showing table. Now If I select another value in the text box and click view, the previous values stays. Not sure how remove previous and get the new values.You only append. You do not reset the list.
for result in results: table_rows.append(list(result)) # <- Appending hereYou should do this instead.
table_rows = result