We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 415ed36 commit af556f9Copy full SHA for af556f9
projects/igniteui-angular/src/lib/grids/grid-base.directive.ts
@@ -6565,7 +6565,8 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
6565
return;
6566
}
6567
if (commit) {
6568
- this.onRowAdded.pipe(first()).subscribe(rowData => {
+ this.onRowAdded.pipe(first()).subscribe((args: IRowDataEventArgs) => {
6569
+ const rowData = args.data;
6570
// A check whether the row is in the current view
6571
const viewIndex = this.findRecordIndexInView(rowData);
6572
const dataIndex = this.filteredSortedData.findIndex(data => data[this.primaryKey] === rowData[this.primaryKey]);
0 commit comments