How to get the text of Selected Items insted of identificato


I am using tree view and I am using getAllChecked() to get the list of all the checked items in tree view. Insted of getting the actual text, I am gettings identificators. Is there any way to get the actual text associated with the root nodes and all the selected child nodes?



you may use getItemText method to get ietm text:

var text = tree.getItemText(itemId)