selects an item
myTreeView.selectItem("2"); // if multiselect is enabled myTreeView.selectItem(["2", "3", "5"]);