[Python] Python library pandastable in ttkbootstrap (tkinter), refresh data which are shown in...

Discussão em 'Python' iniciado por Stack, Junho 10, 2025.

  1. Stack

    Stack Membro Participativo

    Dears, I have a question about Python library pandastable usage.

    My case is,

    • I create a window by ttkbootstrap (tkinter) to present a table of data.
    • The table is by pandastable.Table in a ttkbootstrap.Frame.
    • The data is from pandas.read_json as DataFrame (a 2-dimensions table).
    • The needs is when user add / edit / remove items in table through a popout ttkbootstrap.Frame, the table should show the modified data.

    My problem now is,

    • When I modify something and save it, pandastable.Table does not refresh at all.

    What I tried by now are,

    • Frame.grid_forget()
    • Frame.grid_remove()
    • Window.redraw()
    • Read_json again and Table.show() again.

    Could someone help me on this problem? Or could some suggest other table tool to match my needs?

    Thank you.

    Continue reading...

Compartilhe esta Página