Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Browsing all 6178 articles
Browse latest View live

Define Global Variables in UI5 JS files?

Hi allHow do I define Global variables in the UI5 JS files generated by the eclipse tool? I wanted some variable which can be used across the JS view and the controller file, or atleast within the same...

View Article


How to get data from a second page?

Hi guys, I have the first page, where I have a button, which will navigate to the second page to let user make some choices.After the user makes the choices, user will click a button to get back.How...

View Article


Image may be NSFW.
Clik here to view.

A Simple UI5 application running against ABAP without the SAP UI5 Add-on

subtitled I don't need no stinkin' plug-in (or Maintenance Certificate, or Solution Manager, or....) My motivation was to learn about UI5 by doing it. However, since I'm currently resting between...

View Article

JSON Binding

Hi, I am dynamically generating text fields on press of a button. Each time the user clicks on the button a new text field is added, dynamically increasing the ids of the text fields. I want to fetch...

View Article

Need help!!

I followed the ESPM Installation guide.  I imported the relevant code from the Github. When i open the context menu for any of the scenarios , i do not see the run on server in run as option. What...

View Article


UI Control is not working

I am not able to see my label using this simple snippet of code I am a newbie and will appreciate if anyone can help me  <!DOCTYPE HTML><html>       <head>              <meta...

View Article

Image may be NSFW.
Clik here to view.

Refresh Cell Value Of Column Based On Condition

Hi Experts, I m working on UI5 grid. This my grid: My requirement is: On change of "Actual Value ", if value is in between UL and LL then "Sub Test" column should be refreshed with image(ex.green !...

View Article

ScrollToIndex with sap.m.List?

I know that the normal List Object has a scrolltoindex method and the mobile list doesnt (at least I havent found it yet). My problem is that I have some pages in a carouel and each page has a List. On...

View Article


Cannot post data to the OData interface

Hi, I am using the following code to post my data back to OData interface. But I am unsuccessful in this. Even though I can do "GET" operation successfully,I am failing in "POST". What could be the...

View Article


Multiple row saving on click of button

Hi Experts, I m working on UI5 grid. I m editing cell of row in table and on click of button m saving that row. Now m able to do this only for one row. I m using following code for this: var...

View Article

How to delete sap.m.Table item?

Hi guys, I have a sap.m.Table on screen, and I have defined the delete handler: delete: oController.deleteRule,Here's my deletion handler method:         deleteRule: function(evt){...

View Article

Image may be NSFW.
Clik here to view.

empty/"all" entry in DropdownBox with OData model - cleanest solution

Hi all, I'm looking for a way to add an empty option at the top of a dropdown box which is bound to an OData model.  Here's what my basic setup looks like:  var model = new...

View Article

Adding table to ThingInspector

Hi,  I am trying to add a table (with header/ lineitems data from a rest service) to a ThingInspector which opens up from a previous screen. Somehow it does not work.   Any help would be appreciated....

View Article


VerticalNavigationBar subitems

Hello, Is there a way to add subItems to a VerticalNavigationBar?  It seems like it should be possible since NavigationItem has a subItems property, but I have not found any examples of this in...

View Article

SAPUI5 binding issue when JSON model updated

Hi, I have the following challenge: I have a product selection page and a shopping basket page. The content of the shopping basket is in the session (storage) as an array. When I select a product on...

View Article


Circular Range Gauge

I am sharing the code for a circular range gauge. It illustrates the use for graphics context of canvas to create semi complex controls. CSS.sap-dennisseah-circular_range_guage{    width:50px;...

View Article

Download of SAP UI5 resources for version: 1.18.8

Hi all, I'm using version 1.18.8 of the SAP UI5 eclipse plugin and have built an app with it. As I'm using PhoneGap to build the .ipa and .apk archives for deployment to GooglePlay and iTunes App Store...

View Article


How to make UI5 Bar Chart treat string like "20140402" as Date type

Hi Experts:      I want to create a Bar chart with the X axis is Date type. The data from my model is like "20140321" and the Bar will treat this data as INT on X axis as what I show in the picture....

View Article

JSON Binding

Hi, I am dynamically generating text fields on press of a button. Each time the user clicks on the button a new text field is added, dynamically increasing the ids of the text fields. I want to fetch...

View Article

How to create a Listbox in UI5 with alternate row color for the Listitems.

Hi,I need to create a Listbox for browser (not mobile). But not getting any properties for alternate row color for the list items. If anyone worked on this pls share. Thanks,Nigam

View Article
Browsing all 6178 articles
Browse latest View live