[Tkinter] Can I modify part of 'Values' value of Treeview item? - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: GUI (https://python-forum.io/forum-10.html) +--- Thread: [Tkinter] Can I modify part of 'Values' value of Treeview item? (/thread-31724.html) |
Can I modify part of 'Values' value of Treeview item? - water - Dec-29-2020 test_treeview.insert('', 'end', iid = 'i001', value = ['column-1', 'column-2', 'column-3']) test_treeview.item('i001')['values']
test_treeview.item('i001', values = ['changed-column-1', 'changed-column-2', 'column-3']) test_treeview.item('i001')['values'] I want to modify part of value only via specific INDEX, like:values[0 : 2] = ['changed-column-1', 'changed-column-2']how to do that? Thanks. |