diff --git a/projects/igniteui-angular/src/lib/grids/grid-base.directive.ts b/projects/igniteui-angular/src/lib/grids/grid-base.directive.ts index 70e144574ae..bae8a269d09 100644 --- a/projects/igniteui-angular/src/lib/grids/grid-base.directive.ts +++ b/projects/igniteui-angular/src/lib/grids/grid-base.directive.ts @@ -2197,9 +2197,15 @@ export abstract class IgxGridBaseDirective implements GridType, * ```typescript * this.grid.shouldGenerate = true; * ``` - * @deprecated in version 18.2.0. Use the `autoGenerate` property instead. + * @deprecated in version 18.2.0. Column re-creation now relies on `autoGenerate` instead. */ - public shouldGenerate: boolean; + public get shouldGenerate(): boolean { + return this.autoGenerate; + } + + public set shouldGenerate(value: boolean) { + this.autoGenerate = value; + } /** * Gets/Sets the message displayed when there are no records and the grid is filtered. diff --git a/projects/igniteui-angular/src/lib/grids/pivot-grid/pivot-grid.component.ts b/projects/igniteui-angular/src/lib/grids/pivot-grid/pivot-grid.component.ts index 3493175abd4..600fcfbf6e3 100644 --- a/projects/igniteui-angular/src/lib/grids/pivot-grid/pivot-grid.component.ts +++ b/projects/igniteui-angular/src/lib/grids/pivot-grid/pivot-grid.component.ts @@ -745,9 +745,14 @@ export class IgxPivotGridComponent extends IgxGridBaseDirective implements OnIni /** * @hidden @internal - * @deprecated in version 18.2.0. Use the `autoGenerate` property instead. + * @deprecated in version 18.2.0. This property is no longer supported. */ - public override shouldGenerate: boolean; + public override get shouldGenerate(): boolean { + return false; + } + + public override set shouldGenerate(value: boolean) { + } /** * @hidden @internal