Run attached code snippet, select item and click button -- app tries to put selected element to position 1
But this change in tree structure is not shown until parent node is closed and reopened.
note, that adding or removing random element is drawn correctly -- only moving existing element is a problem.
But this change in tree structure is not shown until parent node is closed and reopened.
note, that adding or removing random element is drawn correctly -- only moving existing element is a problem.