Skip to content

Commit

Permalink
[AAE-2617] To get access to datatable component from process-list (#7068
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Sushmitha-Vk committed Jun 10, 2021
1 parent 6400fd6 commit 60ff0fc
Showing 1 changed file with 5 additions and 2 deletions.
Expand Up @@ -15,11 +15,11 @@
* limitations under the License.
*/

import { Component, ViewEncapsulation, OnChanges, AfterContentInit, ContentChild, Output, EventEmitter, SimpleChanges, Input } from '@angular/core';
import { Component, ViewEncapsulation, OnChanges, AfterContentInit, ContentChild, Output, EventEmitter, SimpleChanges, Input, ViewChild } from '@angular/core';
import { DataTableSchema, PaginatedComponent,
CustomEmptyContentTemplateDirective, AppConfigService,
UserPreferencesService, PaginationModel,
UserPreferenceValues, DataRowEvent, CustomLoadingContentTemplateDirective, DataCellEvent, DataRowActionEvent } from '@alfresco/adf-core';
UserPreferenceValues, DataRowEvent, CustomLoadingContentTemplateDirective, DataCellEvent, DataRowActionEvent, DataTableComponent } from '@alfresco/adf-core';
import { ProcessListCloudService } from '../services/process-list-cloud.service';
import { BehaviorSubject } from 'rxjs';
import { processCloudPresetsDefaultModel } from '../models/process-cloud-preset.model';
Expand All @@ -36,6 +36,9 @@ export class ProcessListCloudComponent extends DataTableSchema implements OnChan

static PRESET_KEY = 'adf-cloud-process-list.presets';

@ViewChild(DataTableComponent)
dataTable: DataTableComponent;

@ContentChild(CustomEmptyContentTemplateDirective)
emptyCustomContent: CustomEmptyContentTemplateDirective;

Expand Down

0 comments on commit 60ff0fc

Please sign in to comment.