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

Image may be NSFW.
Clik here to view.

CSS StandardTile icon/image - Change size

Hi experts, I'm trying to change the size of the image/icon of the StandardTile.I've managed to get the div .sapMStdTileIconDiv to change size. However, the image size seems to be somehow hardcoded by...

View Article


How to add controls in javascript mobile view?

I've created a mobile project and created a view then when i'm trying to add a control in the view i cannot do something like this var myButton = new sap.m.Button("myButton", {text:"my button")};and...

View Article


How to add a button in the child node of the Tree Table?

Hi All, I am having a requirement to create a tree table and it should have a delete button to each child node (screenshot attached). Can anyone provide me a sample for how to implement this. Thanks in...

View Article

Get all the rows of the table

Hi,      In my example I want to get all the rows of the table. The table has 20 rows. The visibleRowCount is set to 7 and firstVisibleRow is set to 3.      I have created the table as        var...

View Article

Navigation to a new view

Hello, I'm aware of that there are many similar questions, but it feels like I've already read them all and I still can't get it to work.All I want is to be able to click a Tile (or button, or...

View Article


Validation of CRUDQ application

Hi Everyone, I have created the CRUDQ application and it is running fine. I want to put a validation during creation of employee details for the primary key. how do I select the data which are present...

View Article

is there any other javascript framework that was supported by SAPUI5?

Hi All, Is there any other javascript framework that is compatible with SAP UI5?

View Article

Drag and drop for UI5

Hi everyone, Is it possible to drag and drop the UI elements in sap ui5? Because writting all the code is very lengthy. If it is possible then how we can do that? Regards,Soumya

View Article


UI5 Table JSON Data without columnnames

Hey there, if I want to use JSON Data to be consumed by a SAPUI5 Table the developer guide suggests this format: var aData = [{lastName: "Dente", name: "Al", checked: true, linkText: "www.sap.com",...

View Article


How to clear input field value on back

Hi All, I have developed an application, in which user put sales order on first page and press a button then its detail display on second page using restAPI. Now when I press back button on second page...

View Article

i18n strange encoding

Hi guys,I was doing some testing on i18n encoding.I wrote a german word: "Hinzufügen" but when sapui5 reads it, it becomes "Hinzuf�gen"What is wrong with this? I have set it correctly.var model = new...

View Article

Image may be NSFW.
Clik here to view.

Property Binding of a comboBox part of a FromElement/oForm

How Looks like the code of binding my model (JSON) on a Combobox.This is a part of a FormElemente implemented in a oForm. My model works:  var myMod = oController.getCategoryCombox(); This "myMod" I...

View Article

JSON model does not work in controller????

Hello all, I tested the Content of my models. One of it I implemented in a view-Controller. Here the Content of the model is empty.The same model I implemeted in the view. In the view the model has the...

View Article


Bar Code Scanning using SAPUI5 ?

Hello, i want to trigger a event on button click, which will start the bar code scanner in mobile, and once the code is scanned, i need to capture the value in SAPUI5 control.  any leads in this ?...

View Article

Refreshing Table Model

I'm having an issue with some functionality when I am refreshing some table data. I basically have a page with 2 tables. One has line items and a link that the user can click to change the data in the...

View Article


Get writable Odata

Is is possible, to get access to any free to use odata service, which is writable?I've tried to use the one from odata.org: http://services.odata.org/V4/(S(readwrite))/OData/OData.svc/But I get 501...

View Article

Strange Problem with Rerendering a Table.

Hi All,  I am extending an application which was initially written in 1.2 and has gone through a couple of updates to where it is now, the client has asked that I add date navigation with the table...

View Article


Replacing fonts - problem after deploying on SAP

I'm writing SAPUI5 application, where original fonts need to be replaced with custom ones. I overwrote them in CSS, providing path to ttf files, and on localhost it all works fine. Unfortunatelly, the...

View Article

How to change the color of whole row in SAP UI5 table

Hello All, )       How could I change the complete row color of UI5 table         i know how to change of column by adding css class but want to change the color of row 2)        In a table, column1...

View Article

SAP VIZ all data in one column

Hi, Usually the table format for SAP VIZ Chart library is following: || timestamp || measure1 || measure2 || measure3 || ... and the definition in Javascript: var oDataset = new...

View Article
Browsing all 6178 articles
Browse latest View live