Skip to content

Commit 9d89681

Browse files
authored
Merge branch '16.1.x' into ibarakov/feat-13524-master
2 parents 02de5ad + 95fb73d commit 9d89681

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

projects/igniteui-angular/src/lib/grids/headers/grid-header-row.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div role="rowgroup" class="igx-grid-thead__wrapper" [style.width.px]="width"
1+
<div role="rowgroup" class="igx-grid-thead__wrapper" (scroll)="scroll($event)" [style.width.px]="width"
22
[class.igx-grid__tr--mrl]="hasMRL">
33

44
<!-- Column headers area -->

projects/igniteui-angular/src/lib/grids/headers/grid-header-row.component.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,13 @@ export class IgxGridHeaderRowComponent implements DoCheck {
203203
this.cdr.markForCheck();
204204
}
205205

206+
/**
207+
* @hidden @internal
208+
*/
209+
public scroll(event: Event) {
210+
this.grid.preventHeaderScroll(event);
211+
}
212+
206213
public headerRowSelection(event: MouseEvent) {
207214
if (!this.grid.isMultiRowSelectionEnabled) {
208215
return;

0 commit comments

Comments
 (0)