Skip to content

Commit 519554a

Browse files
committed
chore(*): Fix failing build
1 parent 959e1c6 commit 519554a

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes for each version of this project will be documented in this
55
## 13.1.0
66

77
### New Features
8-
- Added `IgxPivotGrid` component
8+
- Added `IgxPivotGrid` component(Preview)
99
- The igxPivotGrid is a data presentation control for displaying data in a pivot table. It enables users to perform complex analysis on the supplied data. Main purpose is to transform and display a flat array of data into a complex grouped structure with aggregated values based on the main 3 dimensions: rows, columns and values, which the user may specify depending on his/her business needs. The whole pivot grid configuration is set through `IPivotConfiguration` interface.
1010

1111
```html

projects/igniteui-angular/src/lib/grids/common/grid.interface.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,7 @@ export interface HierarchicalGridType extends GridType {
619619

620620
export interface PivotGridType extends GridType {
621621
pivotConfiguration: IPivotConfiguration;
622+
showPivotConfigurationUI: boolean;
622623
columnDimensions: IPivotDimension[];
623624
rowDimensions: IPivotDimension[];
624625
values: IPivotValue[];

projects/igniteui-angular/src/lib/grids/pivot-grid/pivot-header-row.component.html

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -84,19 +84,21 @@
8484
<span *ngIf="grid.rowDimensions.length === 0 && grid.showPivotConfigurationUI" class='igx-pivot__emptyChipArea'>Drop Row Fields here.</span>
8585

8686
<!-- Row area -->
87-
<igx-chips-area *ngIf="grid.showPivotConfigurationUI" #rowArea droppable='true'>
88-
<igx-chip *ngFor="let row of grid.rowDimensions" [draggable]="true" [id]="row.memberName"
89-
[displayDensity]="grid.displayDensity"
90-
[removable]="true" (remove)="rowRemoved($event)"
91-
(dragLeave)="onDimDragLeave($event)"
92-
(dragDrop)="onDimDrop($event, rowArea, 0)"
93-
(dragOver)="onDimDragOver($event, 0)"
94-
(click)="onChipSort($event, row, 0)">
95-
<igx-icon igxPrefix>table_rows</igx-icon>
96-
<igx-icon igxPrefix (pointerdown)='onFilteringIconPointerDown($event)' (click)='onFilteringIconClick($event, row)'>filter_list</igx-icon>
97-
{{ row.memberName}}
98-
<igx-icon *ngIf="row.sortDirection" igxSuffix> {{ row.sortDirection < 2 ? 'arrow_upward' : 'arrow_downward' }}</igx-icon>
99-
</igx-chip>
87+
<igx-chips-area #rowArea droppable='true'>
88+
<ng-container *ngIf="grid.showPivotConfigurationUI">
89+
<igx-chip *ngFor="let row of grid.rowDimensions" [draggable]="true" [id]="row.memberName"
90+
[displayDensity]="grid.displayDensity"
91+
[removable]="true" (remove)="rowRemoved($event)"
92+
(dragLeave)="onDimDragLeave($event)"
93+
(dragDrop)="onDimDrop($event, rowArea, 0)"
94+
(dragOver)="onDimDragOver($event, 0)"
95+
(click)="onChipSort($event, row, 0)">
96+
<igx-icon igxPrefix>table_rows</igx-icon>
97+
<igx-icon igxPrefix (pointerdown)='onFilteringIconPointerDown($event)' (click)='onFilteringIconClick($event, row)'>filter_list</igx-icon>
98+
{{ row.memberName}}
99+
<igx-icon *ngIf="row.sortDirection" igxSuffix> {{ row.sortDirection < 2 ? 'arrow_upward' : 'arrow_downward' }}</igx-icon>
100+
</igx-chip>
101+
</ng-container>
100102
</igx-chips-area>
101103
</div>
102104

0 commit comments

Comments
 (0)