File tree 1 file changed +2
-2
lines changed
projects/igniteui-angular/src/lib/grid
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -221,8 +221,8 @@ describe('IgxGrid - Row Selection', () => {
221
221
222
222
it ( 'Should persist through paging' , async ( ( ) => {
223
223
const fix = TestBed . createComponent ( GridWithPagingAndSelectionComponent ) ;
224
- fix . detectChanges ( ) ;
225
224
const grid = fix . componentInstance . gridSelection2 ;
225
+ fix . detectChanges ( ) ;
226
226
const gridElement : HTMLElement = fix . nativeElement . querySelector ( '.igx-grid' ) ;
227
227
const nextBtn : HTMLElement = fix . nativeElement . querySelector ( '.nextPageBtn' ) ;
228
228
const prevBtn : HTMLElement = fix . nativeElement . querySelector ( '.prevPageBtn' ) ;
@@ -1031,7 +1031,7 @@ export class GridWithPrimaryKeyComponent {
1031
1031
1032
1032
@Component ( {
1033
1033
template : `
1034
- <igx-grid #gridSelection2 [data]="data" [primaryKey]="'ID'"
1034
+ <igx-grid #gridSelection2 [height]="'300px'" [ data]="data" [primaryKey]="'ID'"
1035
1035
[autoGenerate]="true" [rowSelectable]="true" [paging]="true" [perPage]="50">
1036
1036
</igx-grid>
1037
1037
<button class="prevPageBtn" (click)="ChangePage(-1)">Prev page</button>
You can’t perform that action at this time.
0 commit comments