[ACA-3170]Task/Process Add the sticky header feature (#5630)

* Add the sticky header feature

* Add html
This commit is contained in:
Maurizio Vitale
2020-04-22 13:34:51 +01:00
committed by GitHub
parent ea1454dde0
commit 6485ad71b4
6 changed files with 12 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
[columns]="columns"
[sorting]="sorting"
[loading]="isLoading"
[stickyHeader]="stickyHeader"
[selectionMode]="selectionMode"
[multiselect]="multiselect"
[resolverFn]="resolverFn"

View File

@@ -111,6 +111,10 @@ export class ProcessInstanceListComponent extends DataTableSchema implements OnC
@Input()
selectFirstRow: boolean = true;
/** Toggles the sticky header mode. */
@Input()
stickyHeader: boolean = false;
/** Toggles custom context menu for the component. */
@Input()
showContextMenu: boolean = false;

View File

@@ -6,6 +6,7 @@
[columns]="columns"
[sorting]="sorting"
[loading]="isLoading"
[stickyHeader]="stickyHeader"
[multiselect]="multiselect"
[selectionMode]="selectionMode"
[contextMenu]="showContextMenu"

View File

@@ -127,6 +127,10 @@ export class TaskListComponent extends DataTableSchema implements OnChanges, Aft
@Input()
showContextMenu: boolean = false;
/** Toggles the sticky header mode. */
@Input()
stickyHeader: boolean = false;
/** Emitted before the context menu is displayed for a row. */
@Output()
showRowContextMenu = new EventEmitter<DataCellEvent>();