Skip to content

Commit 1a0eda6

Browse files
committed
Remove event from setIndex
1 parent 347f5e9 commit 1a0eda6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/table/table.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ import { I18n } from "./../i18n/i18n.module";
206206
[draggable]="columnsDraggable"
207207
(dragstart)="columnDragStart($event, i)"
208208
(dragend)="columnDragEnd($event, i)"
209-
(click)="setIndex($event, i)">
209+
(click)="setIndex(i)">
210210
<span *ngIf="skeleton"></span>
211211
<div
212212
*ngIf="columnsResizable"
@@ -358,7 +358,7 @@ import { I18n } from "./../i18n/i18n.module";
358358
[ngStyle]="model.header[j].style"
359359
[ibmDataGridFocus]="isDataGrid"
360360
[(columnIndex)]="columnIndex"
361-
(click)="setIndex($event, j)">
361+
(click)="setIndex(j)">
362362
<ng-container *ngIf="!item.template">{{item.data}}</ng-container>
363363
<ng-template
364364
[ngTemplateOutlet]="item.template" [ngTemplateOutletContext]="{data: item.data}">
@@ -939,7 +939,7 @@ export class Table implements AfterViewInit {
939939
});
940940
}
941941

942-
setIndex(event, columnIndex) {
942+
setIndex(columnIndex) {
943943
if (this.model.hasExpandableRows() && this.showSelectionColumn) {
944944
this.columnIndex = columnIndex + 2;
945945
} else if (this.model.hasExpandableRows() || this.showSelectionColumn) {

0 commit comments

Comments
 (0)