</ng-container>
</div>
<div class="eg-grid-cell eg-grid-body-cell" [ngStyle]="{flex:col.flex}"
+ [ngClass]="{'eg-grid-cell-overflow': context.overflowCells}"
(dblclick)="onRowDblClick(row)"
(click)="onRowClick($event, row, idx)"
*ngFor="let col of context.columnSet.displayColumns()">
<span class="ml-2" i18n>Manage Column Widths</span>
</a>
<a class="dropdown-item label-with-material-icon"
+ (click)="gridContext.overflowCells = !gridContext.overflowCells">
+ <ng-container *ngIf="!gridContext.overflowCells">
+ <span class="material-icons">keyboard_arrow_down</span>
+ <span class="ml-2" i18n>Expand Cells Vertically</span>
+ </ng-container>
+ <ng-container *ngIf="gridContext.overflowCells">
+ <span class="material-icons">keyboard_arrow_up</span>
+ <span class="ml-2" i18n>Shrink Cells Vertically</span>
+ </ng-container>
+ </a>
+ <a class="dropdown-item label-with-material-icon"
(click)="saveColumns()">
<span class="material-icons">save</span>
<span class="ml-2" i18n>Save Columns</span>
rowClassCallback: (row: any) => string;
cellClassCallback: (row: any, col: GridColumn) => string;
defaultHiddenFields: string[];
+ overflowCells: boolean;
// Services injected by our grid component
idl: IdlService;