Skip to content

Instantly share code, notes, and snippets.

@maximgatilin
Created March 13, 2017 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maximgatilin/1f71e2bded3e23b858c37384b582f6e0 to your computer and use it in GitHub Desktop.
Save maximgatilin/1f71e2bded3e23b858c37384b582f6e0 to your computer and use it in GitHub Desktop.
Expression Binding #tags:fiori
<ObjectListItem
title="{invoice>Quantity} x {invoice>ProductName}"
number="{
parts: [{path: 'invoice>ExtendedPrice'}, {path: 'view>/currency'}],
type: 'sap.ui.model.type.Currency',
formatOptions: {
showMeasure: false
}
}"
numberUnit="{view>/currency}"
numberState="{= ${invoice>ExtendedPrice} > 50 ? 'Error' : 'Success' }"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment