Skip to content

Commit 4010fa0

Browse files
authored
Merge branch 'master' into mtsvyatkova/fix-12953
2 parents 7bf58b0 + d46acfe commit 4010fa0

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ import { IgxGridModule } from 'igniteui-angular';
6060
- `IgxExpansionPanelTitleDirective` and `IgxExpansionPanelDescriptionDirective` show tooltip of the provided text content.
6161
- `IgxDateRangePicker`
6262
- Added `showWeekNumbers` input that toggles whether or not the number of a week will be visible next to it
63+
- `IgxGrid`, `IgxHierarchicalGrid`:
64+
- `totalItemCount` can now also be bound as `Input` in remote virtualization scenarios.
6365

6466
## 15.1.0
6567

projects/igniteui-angular/src/lib/grids/grid/grid.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,9 +409,9 @@ export class IgxGridComponent extends IgxGridBaseDirective implements GridType,
409409
* this.grid1.totalItemCount = 55;
410410
* ```
411411
*/
412+
@Input()
412413
public set totalItemCount(count) {
413414
this.verticalScrollContainer.totalItemCount = count;
414-
this.cdr.detectChanges();
415415
}
416416

417417
public get totalItemCount() {

projects/igniteui-angular/src/lib/grids/hierarchical-grid/hierarchical-grid.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,9 +479,9 @@ export class IgxHierarchicalGridComponent extends IgxHierarchicalGridBaseDirecti
479479
* this.grid1.totalItemCount = 55;
480480
* ```
481481
*/
482+
@Input()
482483
public set totalItemCount(count) {
483484
this.verticalScrollContainer.totalItemCount = count;
484-
this.cdr.detectChanges();
485485
}
486486

487487
public get totalItemCount() {

0 commit comments

Comments
 (0)