Aug-13-2023, 07:39 PM
Hello,
I would like some guidance on a question / problem I have.
I'm doing a task that consists of an inventory system, things so far very well.
I have made a tkinter window with a "notebook" menu, (inventory/sale)
In notebook 1 I have done a "treeview" that shows mysql data, and buttons to add, delete and update product, so far everything is perfect.
The question I have now is when creating "notebook 2" (sales), that I will make another Treeview and show the same data, but my question is how can I update the "2 Treeviews" at the same time. Because only the one I interacted with is updated, and the other treeview is updated when I interact or restart the application.
Is there any way or way to be able to update the two Treeview at the same time?
I have thought about after(), but I don't know if it is a good option or there is another option.
Any additional information would be appreciated.
I would like some guidance on a question / problem I have.
I'm doing a task that consists of an inventory system, things so far very well.
I have made a tkinter window with a "notebook" menu, (inventory/sale)
In notebook 1 I have done a "treeview" that shows mysql data, and buttons to add, delete and update product, so far everything is perfect.
The question I have now is when creating "notebook 2" (sales), that I will make another Treeview and show the same data, but my question is how can I update the "2 Treeviews" at the same time. Because only the one I interacted with is updated, and the other treeview is updated when I interact or restart the application.
Is there any way or way to be able to update the two Treeview at the same time?
I have thought about after(), but I don't know if it is a good option or there is another option.
Any additional information would be appreciated.