Skip to content

Commit ecf4a33

Browse files
committed
chore(grid): fix NG0100 by returning _totalRecords for aria-rowcount
1 parent fb52e58 commit ecf4a33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/grids/grid-base.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1846,7 +1846,7 @@ export abstract class IgxGridBaseDirective implements GridType,
18461846

18471847
@HostBinding('attr.aria-rowcount')
18481848
protected get ariaRowCount(): number {
1849-
return (this.totalRecords || (this as any).totalItemCount || this.data?.length || 0) + 1;
1849+
return (this._totalRecords || (this as any).totalItemCount || this.data?.length || 0) + 1;
18501850
}
18511851

18521852
/**

0 commit comments

Comments
 (0)