[ADF-5153] Transclusion exposed from the DataTable to the DocumentList (#5743)

* [ADF-5153] Transclusion exposed from the DataTable to the DocumentList

* [ADF-5153] Add flags to control transclusion

* [ADF-5153] Remove Ngif breaking the transclusion
This commit is contained in:
Baptiste Mahé
2020-06-02 16:31:56 +02:00
committed by GitHub
parent 6b06fd6364
commit 439e3c7a7c
4 changed files with 16 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
[showHeader]="!isEmpty() && showHeader"
[rowMenuCacheEnabled]="false"
[stickyHeader]="stickyHeader"
[allowFiltering]="allowFiltering"
(showRowContextMenu)="onShowRowContextMenu($event)"
(showRowActionsMenu)="onShowRowActionsMenu($event)"
(executeRowAction)="onExecuteRowAction($event)"
@@ -23,6 +24,10 @@
(row-unselect)="onNodeUnselect($event.detail)"
[class.adf-datatable-gallery-thumbnails]="data.thumbnails">
<ng-template let-col>
<!-- [ACA-3206] TODO : Implement search/filter widget HERE -->
</ng-template>
<adf-no-content-template>
<ng-template>
<adf-empty-list *ngIf="!customNoContentTemplate">

View File

@@ -308,6 +308,7 @@ export class DocumentListComponent implements OnInit, OnChanges, OnDestroy, Afte
noPermission: boolean = false;
selection = new Array<NodeEntry>();
$folderNode: Subject<Node> = new Subject<Node>();
allowFiltering: boolean = true;
// @deprecated 3.0.0
folderNode: Node;