Skip to content

Commit 8576ede

Browse files
authored
Merge branch 'master' into dpetev/fix-ng-ls-migrations
2 parents 0e3cedf + 43e5c9d commit 8576ede

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2197,9 +2197,15 @@ export abstract class IgxGridBaseDirective implements GridType,
21972197
* ```typescript
21982198
* this.grid.shouldGenerate = true;
21992199
* ```
2200-
* @deprecated in version 18.2.0. Use the `autoGenerate` property instead.
2200+
* @deprecated in version 18.2.0. Column re-creation now relies on `autoGenerate` instead.
22012201
*/
2202-
public shouldGenerate: boolean;
2202+
public get shouldGenerate(): boolean {
2203+
return this.autoGenerate;
2204+
}
2205+
2206+
public set shouldGenerate(value: boolean) {
2207+
this.autoGenerate = value;
2208+
}
22032209

22042210
/**
22052211
* Gets/Sets the message displayed when there are no records and the grid is filtered.

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -745,9 +745,14 @@ export class IgxPivotGridComponent extends IgxGridBaseDirective implements OnIni
745745

746746
/**
747747
* @hidden @internal
748-
* @deprecated in version 18.2.0. Use the `autoGenerate` property instead.
748+
* @deprecated in version 18.2.0. This property is no longer supported.
749749
*/
750-
public override shouldGenerate: boolean;
750+
public override get shouldGenerate(): boolean {
751+
return false;
752+
}
753+
754+
public override set shouldGenerate(value: boolean) {
755+
}
751756

752757
/**
753758
* @hidden @internal

0 commit comments

Comments
 (0)