blob: bb0845a657a85b6bb36092965cf670d96fe3cf66 [file] [log] [blame]
/********************************************************************************
* Copyright (c) 2020 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
********************************************************************************/
import { IconCellRendererComponent } from '@grid-failure-information-app/shared/components/cell-renderer/icon-cell-renderer/icon-cell-renderer.component';
export const GRID_FAILURE_DISTRIBUTION_GROUPS_COLDEF = [
{
field: 'name',
headerName: 'DistributionGroup.Name',
sortable: true,
suppressMovable: true,
filter: 'setFilterComponent',
},
{
field: 'emailSubject',
headerName: 'DistributionGroup.Betreff',
sortable: true,
suppressMovable: true,
filter: 'setFilterComponent',
},
{
field: 'distributionText',
headerName: 'DistributionGroup.Text',
sortable: true,
suppressMovable: true,
filter: 'setFilterComponent',
},
{
field: 'tools',
headerName: ' ',
pinned: 'right',
maxWidth: 110,
minWidth: 110,
lockPosition: true,
sortable: false,
filter: false,
suppressMenu: true,
suppressSizeToFit: true,
cellRendererFramework: IconCellRendererComponent,
},
];