[MNT-23166] Make tasks and processes lists resizeable (#9145)

This commit is contained in:
MichalKinas
2023-12-08 08:47:51 +01:00
committed by GitHub
parent f47fb2a7e9
commit 064c1fd216
6 changed files with 24 additions and 0 deletions

View File

@@ -4,6 +4,8 @@
[columns]="columns"
[sorting]="sorting"
[loading]="isLoading"
[isResizingEnabled]="isResizingEnabled"
[blurOnResize]="blurOnResize"
[stickyHeader]="stickyHeader"
[selectionMode]="selectionMode"
[multiselect]="multiselect"

View File

@@ -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>();

View File

@@ -6,6 +6,8 @@
[columns]="columns"
[sorting]="sorting"
[loading]="isLoading"
[isResizingEnabled]="isResizingEnabled"
[blurOnResize]="blurOnResize"
[stickyHeader]="stickyHeader"
[multiselect]="multiselect"
[selectionMode]="selectionMode"

View File

@@ -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>();