From 49df7a7de4789baf45a89944e1e36e27fb92e87a Mon Sep 17 00:00:00 2001 From: dxArtemiusz <111366900+dxArtemiusz@users.noreply.github.com> Date: Wed, 25 Sep 2024 16:53:48 +0400 Subject: [PATCH] 24_1 changed event handler parameter type cherry pick (#28103) --- .../Demos/DataGrid/LocalReordering/Angular/app/app.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/demos/Demos/DataGrid/LocalReordering/Angular/app/app.component.ts b/apps/demos/Demos/DataGrid/LocalReordering/Angular/app/app.component.ts index 3d8b79d8606f..d2461b68f300 100644 --- a/apps/demos/Demos/DataGrid/LocalReordering/Angular/app/app.component.ts +++ b/apps/demos/Demos/DataGrid/LocalReordering/Angular/app/app.component.ts @@ -40,7 +40,7 @@ export class AppComponent { this.statuses = service.getStatuses(); } - onReorder = (e: Parameters[0]) => { + onReorder = (e: DxDataGridTypes.RowDraggingReorderEvent) => { const visibleRows = e.component.getVisibleRows(); const toIndex = this.tasks.findIndex((item) => item.ID === visibleRows[e.toIndex].data.ID); const fromIndex = this.tasks.findIndex((item) => item.ID === e.itemData.ID);