When I route to a page with ejs-grid without queryParams, the actionBegin event triggers normally. But when I route to the same page with queryParams, the actionBegin event doesn't triggers.
.html
<ejs-grid
#grid
(actionBegin)="onActionBegin($event)"
[columns]="columns"
[dataSource]="data"
>
</ejs-grid>
.ts
async onActionBegin(args) {
// some code
}
route with queryParams:
<a routerLink="/page" [queryParams]="{ param: 'param' }">Route1</a>route without queryParams:
<a routerLink="/page">Route2</a>
Note: I do not subscribe to the queryParam or get its value in anyway in routed page
I have read some articles saying that route.queryParams doesn’t work with await but I didn't found a workaround it.