mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[MNT-23166] Make tasks and processes lists resizeable (#9145)
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
[columns]="columns"
|
||||
[sorting]="sorting"
|
||||
[loading]="isLoading"
|
||||
[isResizingEnabled]="isResizingEnabled"
|
||||
[blurOnResize]="blurOnResize"
|
||||
[stickyHeader]="stickyHeader"
|
||||
[selectionMode]="selectionMode"
|
||||
[multiselect]="multiselect"
|
||||
|
@@ -111,6 +111,14 @@ export class ProcessInstanceListComponent extends DataTableSchema implements OnC
|
||||
@Input()
|
||||
showContextMenu: boolean = false;
|
||||
|
||||
/** Enables column resizing for datatable */
|
||||
@Input()
|
||||
isResizingEnabled = false;
|
||||
|
||||
/** Enables blur when resizing datatable columns */
|
||||
@Input()
|
||||
blurOnResize = true;
|
||||
|
||||
/** Emitted before the context menu is displayed for a row. */
|
||||
@Output()
|
||||
showRowContextMenu = new EventEmitter<DataCellEvent>();
|
||||
|
@@ -6,6 +6,8 @@
|
||||
[columns]="columns"
|
||||
[sorting]="sorting"
|
||||
[loading]="isLoading"
|
||||
[isResizingEnabled]="isResizingEnabled"
|
||||
[blurOnResize]="blurOnResize"
|
||||
[stickyHeader]="stickyHeader"
|
||||
[multiselect]="multiselect"
|
||||
[selectionMode]="selectionMode"
|
||||
|
@@ -139,6 +139,14 @@ export class TaskListComponent extends DataTableSchema implements OnChanges, Aft
|
||||
@Input()
|
||||
stickyHeader: boolean = false;
|
||||
|
||||
/** Enables column resizing for datatable */
|
||||
@Input()
|
||||
isResizingEnabled = false;
|
||||
|
||||
/** Enables blur when resizing datatable columns */
|
||||
@Input()
|
||||
blurOnResize = true;
|
||||
|
||||
/** Emitted before the context menu is displayed for a row. */
|
||||
@Output()
|
||||
showRowContextMenu = new EventEmitter<DataCellEvent>();
|
||||
|
Reference in New Issue
Block a user