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 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...
Is there a way (except using eval()) to build a sapui5 control if the constructor is a string?  For example, I want to build a text control:  var oText = new sap.m.Text({});   but the part "new sap.m.Text({})" is actually a string. I tried ev...
Im getting Binary data from OData Service.Can someone please help me how to convert Binary data to Readable format. Im trying with few options like atob But it is not getting worked. Below is my Code..  var data="JVBERi0xLjMNCiXi48/TDQolUlNUWFBER...
I asked a similar question before but didn't get a right answer because my question was not meaningful or not understandable.  so I try it again..  My Problem is I don't understand how the login works. My Situation: I have created a full Appl...
I want to catch an optional url parameter in my sapui5 application.  Manifest:              "routes": [             {                 "pattern": "page_1:query:",                 "name": "page_1",...
I would like to bind a property (flag_baz in this case) from a JSONModel to a checkbox. Thing is that the json model looks like this.  {   foo: "Foo",    bar:"Bar",    flag_baz : "X" }   in this case X means "true" and...
I got a problem after updating the a TreeTable, as i understand this is because model is not refreshed, tried to refresh it but it doesnt help. Here is what i see after update: (erased headers by myself)   No rows added, but if i scroll horizontally,...
In my current job, i had a requirement in SAPUI5 to download Table/list/etc control's data into .xlsx excel file extension (not .csv extension).  Please guide me with some good examples or concept.  Thanking you in advance....
Related question: What is the replacement for metadataLoaded in JSON model?     When I use metadataLoaded in sap.ui.model.odata.v2.ODataModel, Everytime _onObjectMatched is called , metadataLoaded can also be fired.:  this.getRouter().getRoute("o...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.