blob: 7dce32f05058128f82a5e70fa00ec0a75ad8ebd1 [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 '@shared/components/cell-renderer/icon-cell-renderer/icon-cell-renderer.component';
import { BoolCellRendererComponent } from '@shared/components/cell-renderer/bool-cell-renderer/bool-cell-renderer.component';
export const COMMUNICATION_TYPES_COLDEF = [
{
field: 'type',
headerName: 'CommunicationTypes.Type',
sortable: true,
filter: 'setFilterComponent'
},
{
field: 'description',
headerName: 'CommunicationTypes.Description',
sortable: true,
filter: 'setFilterComponent'
},
{
field: 'editable',
headerName: 'CommunicationTypes.Editable',
sortable: true,
filter: 'setFilterComponent',
cellRendererFramework: BoolCellRendererComponent
},
{
field: 'mappingLdap',
headerName: 'CommunicationTypes.MappingLdap',
sortable: true,
filter: 'setFilterComponent',
cellRendererFramework: BoolCellRendererComponent
},
{
field: 'tools',
headerName: ' ',
pinned: 'right',
maxWidth: 110,
minWidth: 110,
lockPosition: true,
sortable: false,
filter: false,
suppressMenu: true,
suppressSizeToFit: true,
cellRendererFramework: IconCellRendererComponent
}
];