I have a table Tasks. It has a field of parent task, as association of the same entity.
I created a hierarchically data source over this entity with this field.
Pointed Tree component to this data source and data is shown, but, only one level, and almost all levels as root.
In database, there are about 10 records as root level ,with parentTask field as null. Then, others 900 records that are children From root items, or from their childrens, with about 5 levels of depth.
I expected to see it this way, but instead I get almost all records in root level with only one level of childrens. I checked documentation and samples but I don’t see what’s wrong.
I hope I explained correctly.