Skip to content

Commit

Permalink
24_1 changed event handler parameter type cherry pick (#28103)
Browse files Browse the repository at this point in the history
  • Loading branch information
dxArtemiusz authored Sep 25, 2024
1 parent 036e486 commit 49df7a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class AppComponent {
this.statuses = service.getStatuses();
}

onReorder = (e: Parameters<DxDataGridTypes.RowDragging['onReorder']>[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);
Expand Down

0 comments on commit 49df7a7

Please sign in to comment.