mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[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:
@@ -25,6 +25,9 @@ import { Component, ContentChild, Input, OnInit, TemplateRef } from '@angular/co
|
||||
})
|
||||
export class DataColumnComponent implements OnInit {
|
||||
|
||||
@Input()
|
||||
id: string = '';
|
||||
|
||||
/** Data source key. Can be either a column/property key like `title`
|
||||
* or a property path like `createdBy.name`.
|
||||
*/
|
||||
@@ -45,6 +48,10 @@ export class DataColumnComponent implements OnInit {
|
||||
@Input()
|
||||
sortable: boolean = true;
|
||||
|
||||
/* Enable drag and drop for header column */
|
||||
@Input()
|
||||
draggable: boolean = false;
|
||||
|
||||
/** Display title of the column, typically used for column headers. You can use the
|
||||
* i18n resource key to get it translated automatically.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user