Skip to content

Commit 5ff75ca

Browse files
refactor(GridRowAPISampleComponent): remove unused arguments from methods
1 parent c6de3bf commit 5ff75ca

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/app/grid-row-api/grid-row-api.sample.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
IgxHierarchicalGridComponent,
77
IPinningConfig,
88
RowPinningPosition,
9-
IRowDragStartEventArgs,
109
GridSummaryCalculationMode,
1110
GridSummaryPosition
1211
} from 'igniteui-angular';
@@ -310,13 +309,12 @@ export class GridRowAPISampleComponent implements OnInit {
310309
public onEnter() {
311310
this.dragIcon = 'add';
312311
}
313-
public onRowDragStart(args: IRowDragStartEventArgs) {
312+
public onRowDragStart() {
314313
const count = this.grid.selectedRows.length || 1;
315314
this.countIcon = `filter_${count > 9 ? '9_plus' : `${count}`}`;
316-
return args;
317315
}
318-
public onLeave(args) {
319-
this.onRowDragStart(args);
316+
public onLeave() {
317+
this.onRowDragStart();
320318
this.dragIcon = 'arrow_right_alt';
321319
}
322320
}

0 commit comments

Comments
 (0)