-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2638 from IDEMSInternational/feat/display-grid-da…
…ta-items Feat: display grid data items
- Loading branch information
Showing
2 changed files
with
46 additions
and
41 deletions.
There are no files selected for viewing
21 changes: 11 additions & 10 deletions
21
...app/shared/components/template/components/layout/display-grid/display-grid.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,11 +1,12 @@ | ||
<div class="display-grid" [ngStyle]="gridStyle"> | ||
<plh-template-component | ||
*ngFor="let childRow of _row.rows | filterDisplayComponent; trackBy: trackByRow" | ||
[row]="childRow" | ||
[parent]="parent" | ||
[attr.data-rowname]="_row.name" | ||
class="grid-item" | ||
[ngStyle]="itemStyle" | ||
> | ||
</plh-template-component> | ||
<div class="display-grid" [ngStyle]="gridStyle()"> | ||
@for (gridRow of gridRows() | filterDisplayComponent; track gridRow._nested_name) { | ||
<plh-template-component | ||
[row]="gridRow" | ||
[parent]="parent" | ||
[attr.data-rowname]="_row.name" | ||
class="grid-item" | ||
[ngStyle]="itemStyle()" | ||
> | ||
</plh-template-component> | ||
} | ||
</div> |
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