Top "Sapui5" questions

This tag 'sapui5' covers both the proprietary (SAPUI5) and the open source (OpenUI5) versions of the framework.

sap.ui.table.Table how to optimize column widths

I can't find this anywhere. In a sap.ui.table.Table control is it possible to tell it to resize …

sapui5
Reading REST Service with SAPUI5

I am trying to access a REST Service with SAPUI5. I am sending a GET Request with the help of …

jquery json rest sapui5
How to Bind OData $count from expanded collection in an XML view

May be this is a basic question, but I have trouble binding the OData count in XML view. In the …

sapui5
SAPUI5 Set Focus on Input Field

i have the following Problem: I have 2 XML Views with a few input fields and at navigation to the second …

javascript sap sapui5 setfocus
Binding, Context, ContextBinding and BindingContext in ui5

I have been pondering the internals of and relationship between context, contextbinding, and bindingcontext for a few days now and …

sapui5
How to use an if-else condition in a SAPUI5 XML-View?

How can I implement an if-else condition in a XML-View in SAPUI5 that uses a flag (condition) from a JSONModel? …

javascript xml sapui5
SAPUI5: Retrieve model object in controller

I have a master-detail application that consumes an OData service (declared in manifest.json). In the detail controller, I bind …

data-binding sapui5
UI5: Dynamically build ListItems from JSON with different Icons

I have this simple XML View: <core:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc" …

json data-binding listitem sapui5
How to dynamically load an XML fragment in XML view?

Suppose I have the following XML view: <mvc:View xmlns:mvc="sap.ui.core.mvc" ...> <Page> &…

sapui5
How to wait for a JSONModel.loadData() request in UI5

In SAPUI5/OpenUI5, I have a JSONModel I populate by a file from server: var oModel = new JSONModel(); oModel.loadData("…

javascript asynchronous xmlhttprequest sapui5