var oObjectHeader = new sap.m.ObjectHeader("objectHeaderID", {
binding: "{/ProductCollection}",
title: "{Name}",
number: "{ parts:[{path:'Price'},{path:'CurrencyCode'}], type: 'sap.ui.model.type.Currency', formatOptions: {showMeasure: false} }",
numberUnit: "{CurrencyCode}"
});
var oObjectHeader = new sap.m.ObjectHeader("objectHeaderID", {
// binding: "{/ProductCollection}",
title: "{/ProductCollection/Name}",
number: "{ parts:[{path:'/ProductCollection/Price'},{path:'/ProductCollection/CurrencyCode'}], type: 'sap.ui.model.type.Currency', formatOptions: {showMeasure: false} }",
numberUnit: "{/ProductCollection/CurrencyCode}"
});
<ObjectHeader binding="{/ProductCollection}" title="{Name}"
number="{ parts:[{path:'Price'},{path:'CurrencyCode'}],
type: 'sap.ui.model.type.Currency', formatOptions: {showMeasure: false} }"
numberUnit="{CurrencyCode}">
</ObjectHeader>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
7 | |
7 | |
5 | |
4 | |
4 | |
4 | |
3 | |
3 | |
3 |