mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-01 14:41:32 +00:00
[ADF-4498] Disable Sticky header on Datatable if header is not visible (#4701)
* [ADF-4498] Disable Sticky header on Datatable if header is not visible * [ADF-4498] Improve flag check
This commit is contained in:
committed by
Eugenio Romano
parent
898e3b5a80
commit
fc9f04c6c6
@@ -645,6 +645,10 @@ export class DataTableComponent implements AfterContentInit, OnChanges, DoCheck,
|
||||
return !this.loading && !this.isEmpty() && !this.noPermission;
|
||||
}
|
||||
|
||||
isStickyHeaderEnabled() {
|
||||
return this.stickyHeader && this.isHeaderVisible();
|
||||
}
|
||||
|
||||
private emitRowSelectionEvent(name: string, row: DataRow) {
|
||||
const domEvent = new CustomEvent(name, {
|
||||
detail: {
|
||||
|
Reference in New Issue
Block a user