Hi mehmet,
Syncfusion Greetings.
To collapse the parent resource at initial load, kindly use expandedField as below.
<e-resources>
<e-resource field='ProjectId' title='Choose Project' [dataSource]='projectDataSource' [allowMultiple]='allowMultiple' name='Projects'
textField='text' idField='id' colorField='color' expandedField='Expand' >
</e-resource>
public projectDataSource: Object[] = [
{ text: 'PROJECT 1', id: 1, color: '#cb6bb2', Expand:false },
{ text: 'PROJECT 2', id: 2, color: '#56ca85', Expand:false },
{ text: 'PROJECT 3', id: 3, color: '#df5286', Expand: false }
];
Regards,
M.Vinitha devi