Hierarchical viewer find if item has sublevels

Pantelhs Saoylos asked on October 25, 2019 09:26

Hello, i would like to know if it is possible to someway find if an item inside a Hierarchical viewer has sublevels under it, in order to be able to alter it's transformation accordingly from a javascript function. Thanks in advance!

Correct Answer

Peter Mogilnitski answered on October 25, 2019 15:33

There is a field called NodeHasChildren in CMS_Tree, make sure you are passing it in your query if you are using query uniview:

<%#eval("NodeHasChildren")%>

2 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.