Grouping multi-level resources with empty parent

Hi, 

if I group resources e.g. Rooms > Owner and a Room does not have an owner, then its not shown in the schedule component. How can I still show parents if there are no childs? 

Thanks,
Max

Resources in Angular Schedule component | Syncfusion

<e-resources>
        <e-resource field="RoomId" title="Room" name="Rooms" [dataSource]="roomDataSource"
         textField="RoomText" idField="Id" colorField="RoomColor">
        </e-resource>
        <e-resource field="OwnerId" title="Owner" name="Owners" [dataSource]="ownerDataSource"         [allowMultiple]="allowMultipleCategory" textField="OwnerText"
         idField="Id" groupIDField="OwnerGroupId" colorField="OwnerColor">
        </e-resource>
</e-resources>

1 Reply 1 reply marked as answer

SR Swathi Ravi Syncfusion Team July 26, 2024 06:39 AM UTC

Hi Max,

 

We would like to inform you that if there is no child resource, the parent resource won't render as per our design. If you want to render the parent resource, you need to maintain a dummy child resource for the parent.

 

Regards,

Swathi Ravi


Marked as answer
Loader.
Up arrow icon