I have a requirement that by passing a name it should return an avatar  icon contains the first letters of the words contained in that name.For instance, if I pass John Abraham it should return an icon 'JA'.I need to use that icon in an sapui...
I have an XMLView home page containing some tiles. These tiles are populated from a JSON file. The tiles have a 'title' attribute which requires i18n data binding.  Part of the XML view:  <TileContainer id="container" tiles="{/...
I have been learning the master-detail demo, below is a snippet in Master.controller.js  onInit : function() {     this.getView().addEventDelegate({         onBeforeFirstShow: function () {             this.getOwnerComponent().oListSelector.setBoundM...
I know this is a silly question but I have seen in a lot of places the below statement:  something.apply(this, arguments)   Can someone please explain me the use of this function or point me to some kind of documentation?...
I have created an OpenUI5 app and I want to relase a new version daily. But I found some problems:   Not always on the client browser is loaded the last version of javascript (I have a label that show the version and to see the last number is requred...
How can I implement an if-else condition in a XML-View in SAPUI5 that uses a flag (condition) from a JSONModel?  So far I have a Controller:  sap.ui.define([     "sap/ui/core/mvc/Controller",     "sap/ui/model/json/JSONModel" ], funct...
I want to filter a table on ButtonPress an set the Table + 3 other buttons visible. My wish is to do that in the controller, but I cant seem to find a way to call a Controller Function inside the event Handler.  The Button:  var searchButton = new sa...
Demo  I am trying to attach scroll event in my UI5 Page, but it is not fired:    onInit: function() {    $(window).scroll(function() {        console.log("scrolled")    });  },   onAfterRendering: function() {    //Or    var oPage = this.getV...
The following is my json object. I want to make a table for the object with the key:"month"   Object    oData    details:    Array[4]    0:Object    1:Object    2:Object     editable:false     key:"year"     removeable:false     value...
Consider we have Sap.m Table. and we are binding values to Sap.m.Select. So what it the standard way to get selected values from that select tag.  I went through many blogs and, I found that everyone using for loop to get values in such case.  I don,...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.