Category "sapui5"

How to get notified about DatePicker ValueHelp event?

I need to be able to know when the DatePicker's value help button is pressed and the calendar shows up. But there is not any reference in the docs of how to

Scaleproblem: VizFrame Dual Barchart Rendering of Values

I made a dual barchart with vizframe, but I ran into a problem. The values of the two datasets don't render on the same scale. This makes the comparison of the

SAPUI5 OPA5 How to trigger a select event

Below a typical action to test if a sap.m.Select contains an item with the name xyz and then select it. success: function(oSelect) { var oItems = oSelect.g

Change the application title when go to particular pattern

I want to change the application title (the title that appears on the tab up) when I go to a particular pattern. I am setting the title in index.html. Do you ha

Prototype & Extend in SAPUI5 (Component.js)

I was trying to implement Component.js in my SAPUI5 application but unable to understand .extend & .prototype.init.apply method in below piece of code. sap

Function Call in Expression Binding in OpenUI5/SAPUI5

Problem is to print out the current year by using expression binding that was introduced with 1.28. Expression Binding is capable of executing global accessibl

UI5 - How to Resize Table Height

​Hello, It seems that table row height of UI5 Table is pretty big with lot of white space above and below the text. Is there anyway I can resize the h

How to dynamically set binding type's "formatOptions" and "constraints" in XML with binding?

I have a list of elements (OData set) and use a binding to show this list. One field is for a quantity value and this value could sometimes need some decimal pl

How can I get the count of filtered OData results? [duplicate]

I am attempting to get the count of filtered OData results in a Fiori SAPUI5 application. I am able to get the correct count using both $count

SAP Web IDE shows errors about ES6+ features

for (var items in _selectedContexts) { var downloadModel = __parsed[__parsed[items].toString().split("/")[1]][__parsed[items].toString().split("/")[2]]; var

Create Custom Enum Type

I want to create a custom enum type for the custom control like https://sapui5.hana.ondemand.com/docs/api/symbols/sap.ui.core.ValueState.html#.Error. My questi