Skip to content

Instantly share code, notes, and snippets.

@njames
Created November 29, 2015 03:13
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 njames/b413deff3d0b61eb83c5 to your computer and use it in GitHub Desktop.
Save njames/b413deff3d0b61eb83c5 to your computer and use it in GitHub Desktop.
Get data from the Model for a event (sim for a control)
// get data from the Model for a event (sim for a control)
var path = oEvent.getSource().getBindingContextPath(),
data = this.getView().getModel().getProperty( path );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment