Skip to content

Commit

Permalink
Fixed #9806 - Table onRowSelect calling before the selection change
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitfindikli committed Jan 22, 2021
1 parent 5f62e25 commit 50035d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1109,8 +1109,8 @@ export class Table implements OnInit, AfterViewInit, AfterContentInit, Blockable
}
}
}
this.onRowSelect.emit({originalEvent: event, data: rangeRowsData, type: 'row'});
this.selectionChange.emit(this.selection);
this.onRowSelect.emit({originalEvent: event, data: rangeRowsData, type: 'row'});
}

clearSelectionRange(event: MouseEvent) {
Expand Down

0 comments on commit 50035d9

Please sign in to comment.