Skip to content

Commit a676368

Browse files
author
Benjamin Russell
committed
Merge branch 'master' into release/1.3.8
2 parents 27ee56a + 08ba318 commit a676368

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

components/js/slickGrid.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,8 @@ export class SlickGrid implements OnChanges, OnInit, OnDestroy, AfterViewInit {
621621
private subscribeToActiveCellChanged (): void {
622622
// Subscribe to all active cell changes to be able to catch when we tab to the header on the next row
623623
this._grid.onActiveCellChanged.subscribe((e, args) => {
624+
// Emit that we've changed active cells
625+
this.activeCellChanged.emit({row: args.row, column: args.cell});
624626

625627
// If editing is disabled or this isn't the header, ignore.
626628
// We assume the header is always column 0, as it is hardcoded to be that way in initGrid
@@ -638,9 +640,6 @@ export class SlickGrid implements OnChanges, OnInit, OnDestroy, AfterViewInit {
638640
this._activeEditingRow = undefined;
639641
this._activeEditingRowHasChanges = false;
640642
}
641-
642-
// Emit that we've changed active cells
643-
this.activeCellChanged.emit({row: args.row, column: args.cell});
644643
});
645644
}
646645

0 commit comments

Comments
 (0)