Skip to content

Commit bb7f97d

Browse files
committed
chore(grid): update comments
1 parent 0a8fae2 commit bb7f97d

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

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

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1863,7 +1863,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
18631863
}
18641864

18651865
/**
1866-
* @deprecated in version 12.1.0. Use `grid.paginator.page` property from `igx-paginator` component instance instead.
1866+
* @deprecated in version 12.1.0. Use `page` property from `igx-paginator` component instance instead.
18671867
*
18681868
* Gets/Sets the current page index.
18691869
*
@@ -1893,7 +1893,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
18931893
}
18941894

18951895
/**
1896-
* @deprecated in version 12.1.0. Use `grid.paginator.perPage` property from `igx-paginator` component instance instead
1896+
* @deprecated in version 12.1.0. Use `perPage` property from `igx-paginator` component instance instead
18971897
*
18981898
* Gets/Sets the number of visible items per page.
18991899
*
@@ -4513,7 +4513,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
45134513
}
45144514

45154515
/**
4516-
* @deprecated in version 12.1.0. Use the corresponding method `grid.paginator.nextPage()` exposed by the `igx-paginator` instance.
4516+
* @deprecated in version 12.1.0. Use the corresponding method `nextPage()` exposed by the `igx-paginator` instance.
45174517
*
45184518
* Goes to the next page, if the grid is not already at the last page.
45194519
*
@@ -4529,7 +4529,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
45294529
}
45304530

45314531
/**
4532-
* @deprecated in version 12.1.0. Use the corresponding method `grid.paginator.nextPage()` exposed by the `igx-paginator` instance.
4532+
* @deprecated in version 12.1.0. Use the corresponding method `nextPage()` exposed by the `igx-paginator` instance.
45334533
*
45344534
* Goes to the previous page, if the grid is not already at the first page.
45354535
*
@@ -4710,7 +4710,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
47104710
}
47114711

47124712
/**
4713-
* @deprecated in version 12.1.0. Use the corresponding method `grid.paginator.paginate()` exposed by the `igx-paginator`
4713+
* @deprecated in version 12.1.0. Use the corresponding method `paginate()` exposed by the `igx-paginator`
47144714
*
47154715
* Goes to the desired page index.
47164716
*
@@ -4720,8 +4720,6 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
47204720
* // old
47214721
* this.grid1.paginate(1);
47224722
* // new
4723-
* this.grid1.paginator.paginate(1);
4724-
* // or with cached paginator in paginator1
47254723
* this.paginator1.paginate(1);
47264724
* ```
47274725
* @param val

projects/igniteui-angular/src/lib/grids/tree-grid/tree-grid-indentation.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ describe('IgxTreeGrid - Indentation #tGrid', () => {
9696
fix.componentInstance.paging = true;
9797
fix.detectChanges();
9898

99-
treeGrid.perPage = 4;
99+
treeGrid.paginator.perPage = 4;
100100
fix.detectChanges();
101101
tick(16);
102102

0 commit comments

Comments
 (0)