tree-view onclick callback