Hi Daniel,
Thanks for contacting Syncfusion support.
By using “ejDataManager”, we can filter the required parent records that having child records in it.
Please find the code example below:
<div id="angulartreegrid" ej-treegrid e-datasource="data" >
<script>
var dataManager = ej.DataManager(projectData).executeLocal(ej.Query().where("subtasks",
ej.FilterOperators.notEqual, null));
angular.module('listCtrl', ['ejangular'])
.controller('TreeCtrl', function ($scope) {
$scope.data = dataManager;
});
</script> |
We have also prepared the sample for your reference. Please find the sample from below link.
Please let us know if you require further assistance on this.
Regards,
Jone sherine P S