No, I can’t see the screenshot. The URL you provide is blocked here. But
if I could see it, would it answer my questions?
Are you asking for help, or making a suggestion for a new feature for
the Python language?
The “Ideas” topic is for new features. If you are asking for help, you
should post under the “Users” topic, and you should explain what you are
trying to do.
Help us to help you!
You should follow the same standards as StackOverflow:
If you are posting an image of a GUI, that is okay, but ideally we
should be able to understand your question without seeing the image. (I
understand that is not always possible.)
This would get only the first value in that specific row into a list (e.g., if your row was | value 1 | value 2 | value 3| , tree_a.item(child)["values"][0] would equal to value 1. You might want to get all the values from specific row you want to move, and put them in the other treeview instead of just one item. Then delete the original row still in the original treeview.
Modify your function:
def addToValid(self):
item = tv.item(tv.selection())['values']
print("you clicked on move", item)
tv3.insert("",0,text="",values=item) # add the data into the new treeview
tv.delete(tv.item(tv.selection())) # this is to delete the data from the original row