Thanks!, but is not working , and i'm suspecting is because i have <ejs-schedule> not <ejs-calendar>, because if i change in stackblitz what i'm mentioning it throws an error. this is my html
<ejs-schedule #scheduleObj width="100%" height="550px" [selectedDate]="selectedDate" [views]="views"
[timeScale]="timeScale" (change)="onValueChange($event)" [eventSettings]="eventSettings"
[group]='group' (popupOpen)='onPopupOpen($event)' (popupClose)="onPopupClose($event)"
(actionBegin)="onActionBegin($event)" (eventRendered)="onEventRendered($event)"
(actionComplete)='onActionComplete($event)' (drag)="onItemDrag($event)"
(renderCell)="onRenderCell($event)">
<e-resources>
<e-resource field="OwnerId" title="Owner" name="Owners" [dataSource]="ownerDataSource"
[allowMultiple]="allowMultipleCategory" textField='OwnerText' idField='Id'
colorField='OwnerColor'>
</e-resource>
</e-resources>
</ejs-schedule>