in tree mode ( -show tree) is it not possible to put index number in integer foam.
i mean first column in tree mode always give row numbers. whenever we delete an item the row number should be updated.
for example lets have height of treeview is 10, so we have 10 rows , column 0 indicate 1 to 10 in integer. if i delete item 5 then it should update all index numbers.
if you could add this feature then it would be great.
Thanks
View and moderate all "feature-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Read-Only Feature Requests"
I'm not quite sure what it is you're asking for, but at a first guess, something like the following might ought to work:
set i 0; foreach item [$tv children {}] { $tv item $iitem -text "[incr i]" }
Wrap this up in a proc and call it whenever you modify the tree structure.
Does that help?
(stale report - closing)