mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-7856] Show variables in table
This commit is contained in:
22
lib/core/mock/data-column.mock.ts
Normal file
22
lib/core/mock/data-column.mock.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import { DataColumn } from '../datatable/data/data-column.model';
|
||||
|
||||
export const getDataColumnMock = <T = unknown>(column: Partial<DataColumn<T>> = {}): DataColumn<T> => ({
|
||||
id: 'columnId',
|
||||
key: 'key',
|
||||
type: 'text',
|
||||
format: 'format',
|
||||
sortable: false,
|
||||
title: 'title',
|
||||
srTitle: 'srTitle',
|
||||
cssClass: 'cssClass',
|
||||
template: undefined,
|
||||
copyContent: false,
|
||||
editable: false,
|
||||
focus: false,
|
||||
sortingKey: 'sortingKey',
|
||||
header: undefined,
|
||||
draggable: false,
|
||||
isHidden: false,
|
||||
customData: undefined,
|
||||
...column
|
||||
});
|
Reference in New Issue
Block a user