-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
443d869
commit 0208d08
Showing
7 changed files
with
381 additions
and
110 deletions.
There are no files selected for viewing
42 changes: 9 additions & 33 deletions
42
...rty-editor/src/lib/components/property-views/property-table/property-table.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,9 @@ | ||
<div class="table-responsive"> | ||
<table [id]="id" class="table table-striped table-hover table-bordered"> | ||
|
||
<thead> | ||
<tr> | ||
<ng-container *ngFor="let property of _configuration; let c = index"> | ||
<th *ngIf="!property.isHidden(undefined, mode, true)"> | ||
{{ property.getLabel(undefined, mode) }} | ||
</th> | ||
</ng-container> | ||
</tr> | ||
</thead> | ||
|
||
<tbody *ngIf="data?.length"> | ||
|
||
<ng-container *ngFor="let row of data; let i = index"> | ||
<tr> | ||
|
||
<ng-container *ngFor="let property of _configuration; let c = index"> | ||
<td *ngIf="!property.isHidden(undefined, mode, true)"> | ||
{{ property.getDisplayValue(row, mode, true) }} | ||
</td> | ||
</ng-container> | ||
|
||
</tr> | ||
</ng-container> | ||
|
||
</tbody> | ||
|
||
</table> | ||
</div> | ||
|
||
Work in progress... | ||
<pe-table [addResponsiveContainer]="true" | ||
responsiveContainerClass="property-table-container" | ||
[isStriped]="true" | ||
[isBordered]="true" | ||
[isHover]="true" | ||
tableClass="property-table" | ||
[header]="_tableHeader" | ||
[data]="_tableData"> | ||
</pe-table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
pe-property-table > pe-table > .property-table-container > .property-table { | ||
|
||
& > thead { | ||
& > tr > .property-table-header-cell { | ||
white-space: pre; | ||
vertical-align: top; | ||
} | ||
} | ||
|
||
& > tbody { | ||
& > tr > .property-table-data-cell { | ||
white-space: pre; | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.