Created
January 8, 2024 21:04
-
-
Save fleischr/7d781050eceb5e756c9ff5ad09ce62f7 to your computer and use it in GitHub Desktop.
Get JSON object bound to a SAPUI5 element
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//get the binding for json object | |
oEvent.getSource().getBindingContext().getObject(); | |
//get the binding for the json object for a specific model | |
oEvent.getSource().getBindingContext("modelName").getObject(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment