From 50035d9826cecd21d0f80e3ef924cb27185d0929 Mon Sep 17 00:00:00 2001 From: yigitfindikli Date: Fri, 22 Jan 2021 16:04:30 +0300 Subject: [PATCH] Fixed #9806 - Table onRowSelect calling before the selection change --- src/app/components/table/table.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/table/table.ts b/src/app/components/table/table.ts index 5b668ec0d69..ff4a8f7530a 100755 --- a/src/app/components/table/table.ts +++ b/src/app/components/table/table.ts @@ -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) {