Posts

Showing posts from March, 2021

UI5 Modelling

Image
 Modelling Data Binding:  Apart from binding the data in the view, we can also use the following:-  Change the Data Object on action:- Mandatory for complex binding Binding Types: Aggregation Binding this.getView().byId("UITable").bindRows("/empTable") this.getView().byId("UITable").bindAggregation("rows", "empTab/row") Resource Model

JAVA Script Basics

JavaScript programs (and JavaScript statements) are often called JavaScript code. Semicolons separate JavaScript statements. JavaScript ignores multiple spaces. You can add white space to your script to make it more readable. JavaScript statements can be grouped together in code blocks, inside curly brackets {...}. Code after double slashes // or between /* and */ is treated as a comment. The "equal to" operator is written like == in JavaScript. You can also add strings, but strings will be concatenated: var name = 'Chaitanya' + 'B' + 'Jondhale'; == compare values only e.g.  10 == "10" === compare values & data types.  Function execution is asynchronous.  JQuery $(selector).action Selectors are 1. tag name, 2. class 3. id Runtime Instance/object of UI5 control  = > sap.ui.getCore(). Scaffolding explained in video Create MVC