Skip to content

Commit

Permalink
feat(IgxGrid): introduce property showSummaryOnCollapse #7334
Browse files Browse the repository at this point in the history
  • Loading branch information
ddincheva committed Jul 6, 2020
1 parent 50f03c8 commit c1ce8a6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions projects/igniteui-angular/src/lib/grids/grid-base.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,16 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
}
}

@Input()
get showSummaryOnCollapse() {
return this._showSummaryOnCollapse;
}

set showSummaryOnCollapse(value: boolean) {
this._showSummaryOnCollapse = value;
this.notifyChanges();
}

/**
* Gets/Sets the filtering strategy of the grid.
* @example
Expand Down Expand Up @@ -2623,6 +2633,7 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements

private _summaryPosition = GridSummaryPosition.bottom;
private _summaryCalculationMode = GridSummaryCalculationMode.rootAndChildLevels;
private _showSummaryOnCollapse = false;
private _cellSelectionMode = GridSelectionMode.multiple;
private _rowSelectionMode = GridSelectionMode.none;
private _columnSelectionMode = GridSelectionMode.none;
Expand Down

0 comments on commit c1ce8a6

Please sign in to comment.