Add fullName pipe and change example (#3946)

This commit is contained in:
Maurizio Vitale
2018-11-07 19:26:13 +00:00
committed by Eugenio Romano
parent c885f6d303
commit 0ee592607a
9 changed files with 96 additions and 4 deletions

View File

@@ -139,7 +139,7 @@ information defined in `app.config.json` as in the example below:
<data-columns>
<data-column key="key" title="title" class="full-width name-column">
<ng-template let-entry="$implicit">
<div>{{getFullName(entry.row.obj.assignee)}}</div>
<div>{{entry.row.obj.assignee | fullName}}</div>
</ng-template>
</data-column>
</data-columns>

View File

@@ -162,7 +162,7 @@ You can use an HTML-based schema and an `app.config.json` custom schema declarat
<data-columns>
<data-column key="assignee" title="Assignee" class="full-width name-column">
<ng-template let-entry="$implicit">
<div>{{getFullName(entry.row.obj.assignee)}}</div>
<div>{{entry.row.obj.assignee | fullName}}</div>
</ng-template>
</data-column>
</data-columns>