Quote Originally Posted by Davor View Post
That is exactly what I thought... until I started coding.

I don't understand the index() method: the arguments over-determine the subject. Whats the meaning of row, column AND parent. Either row/column OR parent is more than enough to devise the index. I don't understand the logic.
Imagine a treeview like so:
#root
#-first tree
#---first tree subitem
#-second tree
#---second tree subitem

So 'first tree' and 'second tree' will require a parent of 'root', whilst the subitems will request the first/second tree as parents as appropriate. Once you have that, THEN you can use the row and column. Without the parent, the row and column are meaningless.