|
|
@ -80,6 +80,7 @@ import { |
|
|
getEntityValue, |
|
|
getEntityValue, |
|
|
getRowStyleInfo, |
|
|
getRowStyleInfo, |
|
|
getTableCellButtonActions, |
|
|
getTableCellButtonActions, |
|
|
|
|
|
noDataMessage, |
|
|
prepareTableCellButtonActions, |
|
|
prepareTableCellButtonActions, |
|
|
RowStyleInfo, |
|
|
RowStyleInfo, |
|
|
TableCellButtonActionDescriptor, |
|
|
TableCellButtonActionDescriptor, |
|
|
@ -142,6 +143,7 @@ export class EntitiesTableWidgetComponent extends PageComponent implements OnIni |
|
|
public columns: Array<EntityColumn> = []; |
|
|
public columns: Array<EntityColumn> = []; |
|
|
public displayedColumns: string[] = []; |
|
|
public displayedColumns: string[] = []; |
|
|
public entityDatasource: EntityDatasource; |
|
|
public entityDatasource: EntityDatasource; |
|
|
|
|
|
public noDataDisplayMessageText: string; |
|
|
private setCellButtonAction: boolean; |
|
|
private setCellButtonAction: boolean; |
|
|
|
|
|
|
|
|
private cellContentCache: Array<any> = []; |
|
|
private cellContentCache: Array<any> = []; |
|
|
@ -275,6 +277,9 @@ export class EntitiesTableWidgetComponent extends PageComponent implements OnIni |
|
|
this.pageSizeOptions = [this.defaultPageSize, this.defaultPageSize * 2, this.defaultPageSize * 3]; |
|
|
this.pageSizeOptions = [this.defaultPageSize, this.defaultPageSize * 2, this.defaultPageSize * 3]; |
|
|
this.pageLink.pageSize = this.displayPagination ? this.defaultPageSize : 1024; |
|
|
this.pageLink.pageSize = this.displayPagination ? this.defaultPageSize : 1024; |
|
|
|
|
|
|
|
|
|
|
|
this.noDataDisplayMessageText = |
|
|
|
|
|
noDataMessage(this.widgetConfig.noDataDisplayMessage, 'entity.no-entities-prompt', this.utils, this.translate); |
|
|
|
|
|
|
|
|
const cssString = constructTableCssString(this.widgetConfig); |
|
|
const cssString = constructTableCssString(this.widgetConfig); |
|
|
const cssParser = new cssjs(); |
|
|
const cssParser = new cssjs(); |
|
|
cssParser.testMode = false; |
|
|
cssParser.testMode = false; |
|
|
|