Skip to content

Instantly share code, notes, and snippets.

@mitsuruog
Last active April 6, 2018 01:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mitsuruog/cdc997bbc901ae180d52 to your computer and use it in GitHub Desktop.
Save mitsuruog/cdc997bbc901ae180d52 to your computer and use it in GitHub Desktop.
multiple property databinding on SAPUI5
new sap.m.Text({
text: {
parts: [
{path: "Width"},
{path: "Depth"},
{path: "Height"},
{path: "DimUnit"}
],
formatter: function(width, depth, height, dimUnit){
return width + " x " + depth + " x " + height + " " + dimUnit;
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment