[AAE-7819] Change column order - enable drag and drop for datatable - [1/3] (#7567)

* [AAE-7819] Enable drag and drop for datatable [1/3]

* [AAE-7819] Change column order - load and save columns order preferences for PROCESSES - [2/3] (#7568)

* [AAE-7819] Load and save column order preferences for processes

* [AAE-7819] Load and save column order preferences for tasks [3/3] (#7569)

* fix css

* fix icon module import

* Fix unit tests

* Fix test

* Fix e2e

* Fix C279927
This commit is contained in:
Bartosz Sekuła
2022-04-11 08:01:02 +02:00
committed by GitHub
parent e89cea79be
commit 48c3fac018
33 changed files with 614 additions and 136 deletions

View File

@@ -20,7 +20,7 @@ import { DataColumn, DataColumnType } from './data-column.model';
// Simple implementation of the DataColumn interface.
export class ObjectDataColumn implements DataColumn {
id?: string;
key: string;
type: DataColumnType;
format: string;
@@ -33,8 +33,10 @@ export class ObjectDataColumn implements DataColumn {
focus?: boolean;
sortingKey?: string;
header?: TemplateRef<any>;
draggable: boolean;
constructor(input: any) {
this.id = input.id ?? '';
this.key = input.key;
this.type = input.type || 'text';
this.format = input.format;
@@ -47,5 +49,6 @@ export class ObjectDataColumn implements DataColumn {
this.focus = input.focus;
this.sortingKey = input.sortingKey;
this.header = input.header;
this.draggable = input.draggable ?? false;
}
}