Pandas table - table dissapear after multiple updates by using show() function

54 Views Asked by At

Im trying to update table2 when new cell in table1 is selected.

first I bind table1 left mouse click as follow:

proj.pt_table1.bind('<ButtonRelease-1>',lambda e: update_table2(e, table2frame, proj))

then update_table2 function handling the table2 update.

def update_table2(e, table2frame, proj):
    proj.table2 = Table(table2frame,dataframe=my_table,width=1200, height=300)
    proj.table2.show()

At first, the code works as expected, but if I click too fast the pandastable become blank. blank table

regular table

Hi, Im trying to update table2 when new cell in table1 is selected.

0

There are 0 best solutions below