Hi Balwant Birajdar,
Greetings from Syncfusion support.
We have checked your requirement with TreeView component. You can achieve your requirement by passing the id value as parameter for getTreeData method of TreeView component. This method returns the all the fields data of the corresponding tree node.
Please, refer the below code snippet to fullfil your requirement.
public nodeChecked(args): void {
console.log(args.data);
//returns the corresponding data of passed node id.
console.log(this.tree.getTreeData(this.tree.checkedNodes[0]));
} |
Please, refer the below sample link with above solution.
Please, refer to the below links to know more about the TreeView component.
Please let us know, if you need any further assistance.
Regards,
Sowmiya.P