Hi Domantos,
Thanks for contacting Syncfusion.
We have validated your query and the provided information. We suggest you to use the below way to achieve your requirement. In the below sample, we have applied additional parameter for autoComplete component in actionComplete event with requestType as filterafteropen using query property of autoComplete.
Please refer the below code example and sample for more information.
<ejs-grid [dataSource]='data' allowFiltering=true [filterSettings]='filter' (actionComplete)='actionComplete($event)' height='273px'>
<e-columns>
<e-column field='ProductName' headerText='ProductName' width=120></e-column>
. . . . . .
</e-columns>
</ejs-grid>
|
export class DataBindingComponent implements OnInit {
ngOnInit(): void {
this.filter = { type: 'Menu' };
}
actionComplete(e) {
if (e.columnName == "ProductName" && e.requestType === 'filterafteropen') {
e.filterModel.dlgObj.element.querySelector('.e-autocomplete').ej2_instances[0].query = new Query().addParams('ej2autocomplete', 'true');
}
}
}
|
Regards,
Madhu Sudhanan P