How can I pass the element id on focus? I have tried multiple syntaxes but nothing seems to work for me.
I am unable to use @Viewchild as the elements are dynamically created.
<tr *ngFor="let vehicle of vehicles; let i = index; trackBy: trackByVehicles">
<td>
<kendo-autocomplete [data]="bookingItemRelations"
(focus)="relationsFocusAutoComplete({{i}})" // This is not functioning.
#relationAutocomplete{{i}} required id="relation--{{i}}">
</kendo-autocomplete>
</td>
</tr>