How to Apply Custom JavaScript in SAPUI5 ?

  1. Create JS folder. For Example: util
  2. Create js field.   e.g:   formatter.js

 

  1. Declare and setting require js library. Define your js function.

  1. Apply custom js to you coding. ( View + Control ) = > Apply custom js.

UI call custom JS:

JS Control include Custom JS:

Leave a Comment