Hi Tomasz,
Thanks for contacting Syncfusion support.
You can achieve your requirement by processing your dataSource using ej.DataManager. Please refer the below code block.
var therapeuticAreas1 = new ej.DataManager(therapeuticAreas);
var projects1 = new ej.DataManager(projects);
$("#treeView").ejTreeView({
fields: {
dataSource: therapeuticAreas1, id: "id", text: "name",
child: {
dataSource: projects1, id: "id", parentId: "therapeuticAreaId", text: "name"
}
},
allowMultiSelection: true,
showCheckbox: true,
fullRowSelect: true
});
|
Based on your requirement we have modified your sample, please refer the below link.
Please let us know if you need further assistance on this.
Regards,
Karthik R