Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Angular question
Message
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01601977
Message ID:
01602062
Vues:
60
This message has been marked as the solution to the initial question of the thread.
>Interesting. Does if check for existence of the property, e.g. since I just added that displayName only in one particular file, would it bomb in others?
>
>I am going to try your suggestion and look into ng-if in more details.

If it has the potential to not exist, you'd have to check for that:
<span ng-if="column.displayName == undefined || column.displayName == ''">{{column.name}}</span>
<span ng-if="column.displayName != undefined && column.displayName != ''">{{column.displayName}}</span>
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform