Unselect the selected folder

Hi,
I am having 2 separate tree structure for folders, I am able to select the folder in tree by setting the “select: true,” property.

I want to deselect the existing folder in one tree after selecting the folder in another tree.

Is there any deselect property.

I am able to use $$(‘data’).unselectAll(); It solved my issue