Skip to Content
0
Jan 16, 2020 at 11:15 AM

How to Set Item Selected in Tree by default

96 Views Last edit Jan 17, 2020 at 07:52 AM 3 rev

Hello experts,

I have Tree in my application i want to Set Selected Item in Tree by default .

Regards, Srinivas

<Tree id="TreeTable" class="TreeTableComm" mode="SingleSelectMaster" itemPress="onTreeItem"
items="{path:'nodeModel>/nodeRoot', parameters: {arrayNames:['children']}}"
 enableBusyIndicator="true">
  <StandardTreeItem title="{nodeModel>text}" type="Active" icon="{path: 'nodeModel>text', formatter: '.formatter.treeIcon'}"/>
</Tree>


Attachments

capture.jpg (27.6 kB)