mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [ADF-3082] Custom Task filters don't work. * Added an sorting input to the datatable. * Updated documentation for the recent changes. * Added testcases for the recent changes. * [ADF-3082] Custom Task filters don't work * Added a sorting input to the datatable * Added testcases to the recent changes. * Updated doc for the recent changes. * * Refactored task/process list dataSort. * * Refactored process/task list datasort method
30 lines
1.1 KiB
HTML
30 lines
1.1 KiB
HTML
<div>
|
|
<adf-datatable #dataTable
|
|
[data]="data"
|
|
[sorting]="dataSort"
|
|
[loading]="isLoading"
|
|
[selectionMode]="selectionMode"
|
|
[multiselect]="multiselect"
|
|
(rowClick)="onRowClick($event)"
|
|
(row-keyup)="onRowKeyUp($event)">
|
|
<loading-content-template>
|
|
<ng-template>
|
|
<!--Add your custom loading template here-->
|
|
<mat-progress-spinner
|
|
class="adf-process-list-loading-margin"
|
|
[color]="'primary'"
|
|
[mode]="'indeterminate'">
|
|
</mat-progress-spinner>
|
|
</ng-template>
|
|
</loading-content-template>
|
|
<no-content-template>
|
|
<!--Add your custom empty template here-->
|
|
<ng-template>
|
|
<div class="no-content-message">
|
|
{{ (requestNode ? 'ADF_PROCESS_LIST.LIST.NONE' : 'ADF_PROCESS_LIST.FILTERS.MESSAGES.NONE') | translate }}
|
|
</div>
|
|
</ng-template>
|
|
</no-content-template>
|
|
</adf-datatable>
|
|
</div>
|