Skip to content

Commit 2a236ff

Browse files
committed
fix(paginator): hide selectDisplayDensity #5841
1 parent d1bb521 commit 2a236ff

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3231,13 +3231,6 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
32313231
}
32323232
}
32333233

3234-
public paginatorSelectDisplayDensity(): string {
3235-
if (this.displayDensity === DisplayDensity.comfortable) {
3236-
return DisplayDensity.cosy;
3237-
}
3238-
return DisplayDensity.compact;
3239-
}
3240-
32413234
/**
32423235
* Returns the current width of the container for the pinned `IgxColumnComponent`s.
32433236
* ```typescript

projects/igniteui-angular/src/lib/paginator/paginator.component.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,10 @@ export class IgxPaginatorComponent extends DisplayDensityBase {
205205
return Array.from(new Set([...values, newOption])).sort((a, b) => a - b);
206206
}
207207

208+
/**
209+
* Sets DisplayDensity for the <select> inside the paginator
210+
* @hidden
211+
*/
208212
public paginatorSelectDisplayDensity(): string {
209213
if (this.displayDensity === DisplayDensity.comfortable) {
210214
return DisplayDensity.cosy;

0 commit comments

Comments
 (0)