• Formatter parameter passes as null 2018-05-15

    I am trying to export table data to an Excel sheet. Everything works OK without formatter. But I have to format some cells before converting table to Excel. I'm debugging the code. Formatter function's parameter passes as null value. Here is my code:

    Tags: excel, formatter, sapui5
  • Load two json model at one controller in Sapui5 2016-07-16

    I have two json data.When ı tried this code , chrome console only showing only last loaded json model. How can ı load two json in one controller ? This my code which I tried. var view = this.getView(); var model2 = new sap.ui.model.json.JSONModel();

    Tags: json, controller, sapui5
  • Page breaks in SAPUI5 2015-03-17

    What is the best practice for creating specific page breaks in SAPUI5 and is it actually possible? Classical CSS atributes page-break-after and page-break-beforedoesn't seem to work in my case. For example, I have two sap.m.VBox elements and I attach

    Tags: javascript, html, css, printing, sapui5
  • add header plugin to SAPUI5 Rich Text Editor TinyMCE 2015-03-17

    var oTextEditor = new sap.ui.richtexteditor.RichTextEditor(); oTextEditor.addPlugin("headers"); console log: /sap/ui/richtexteditor/js/tiny_mce/plugins/headers/editor_plugin_src.js Failed to load resource: the server responded with a status of 404 (N

    Tags: javascript, tinymce, sapui5
  • How are data loading indicators implemented in SAPUI5? 2015-02-25

    I have some slow OData calls which need to present some sort of visual indicator to the user that something is happening. I've read the API and seen the attachRequestSent() etc functions, as well as setBusy(), the BusyDialog and other controls. Can a

    Tags: javascript, sapui5
  • sapui5 html view formatter is not working for visible property 2015-02-09

    html view <div data-sap-ui-type="sap.ui.core.Icon" id="idWarnIcon" data-src="sap-icon://warning2" class="iconsize" data-color="#E5E500" data-visible="{parts:[{path:'Quantity'},{path:'Stock'}],formatter: '.checkWarning'}" > </div> formatte

    Tags: formatting, sapui5
  • Webstorm debug not work

    Webstorm debug not work 2014-12-29

    I'm trying to configure Webstorm to work in debug-mode with chrome extension jetbrains IDE Support. I want start with this app I download the sdk https://openui5.hana.ondem

    Tags: webstorm, jetbrains, sapui5, sapui, openui5
  • Better way than this.oView.oParent.oParent.oParent.oParent.setModel(foo, bar)? 2014-12-29

    I want to set a jsonModel to my SAPUI5 component from one of my component controllers. Within the component, I am using an app or splitapp. I want to avoid getting elements by their ID. What is the best way to get the closest "__ComponentX" object in

    Tags: javascript, sapui5
  • How do i disable and enable dropdownlist item based on a user selection on another dropdownlist 2014-12-29

    I have layout row which contains a dropdown, textfield and two buttons to add and remove rows. My requirement is i have 10 items in dropdownlist if select one item (say Item1) and click on add row button, a new row will be created as same as first ro

    Tags: sapui5
  • How to create a SAPUI5 sap.m.table with responsive column width? 2014-12-04

    I want to have a sap.m.Table with responsive column width. I know that there's the sap.ui.layout control that allows together with the span attribute to specify width dependent on the window size. For example: <layoutData> <l:GridData span="

    Tags: sapui5, openui5
  • Set the aggregation text of fragments from controller 2014-12-04

    I have a xml-fragment. I set items as "{path: '/idFamiglia' }" <core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core"> <SelectDialog id="idSelectDialog" noDataText="Nessun dato" title="Suggerimento" search="handleLocalSearch" liveCh

    Tags: sapui5, sapui, openui5
  • SAPUI5: Binding controller properties to the view 2014-11-17

    I want to bind properties from my controller to the view. in angularjs it's as simple as manipulating the $scope: $scope.buttonProps = { value: 'cheese', disabled: 'disabled', onClick: function() {} }; <custom-button disabled="buttonProps.disabled

    Tags: javascript, sapui5
  • Automate publishing application 2014-09-26

    I create a webapp for my company. whenever I want publish a new version I carry out this operations: Update (increment) the version in a label under the login page Remove my password that I use to fast test Export the project in a directory Copy a su

    Tags: javascript, eclipse, eclipse plugin, sapui5, sapui
  • Deactivate keyboard control in sap.ui.commons.Toolbar control 2014-09-26

    Is there any way to deactivate the keyboard support of the Toolbar control? When I click in a text field in my Toolbar, I would like the arrow leftand arrow right keys to move my cursor in the text field left and right instead of jumping to the next

    Tags: sapui5
  • SAPUI5- Data binding not working 2014-09-01

    I am trying to bind data from controller to view but for some reason I am unable to display data in the view. I am setting the model using the following code: var oModel = new sap.ui.model.json.JSONModel(); oModel.setData(oObject); this.getView().set

    Tags: sapui5
  • SAPUI5- How to hide a button/region/area when a button is pressed? 2014-08-05

    I want to hide a button/area/region(header,footer,etc) when a button is clicked. How can I achieve this? For example if I have the following page: <mvc:View height="100%" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m"> <Page title="Hide Area On B

    Tags: sapui5
  • XML views Documentation Openui5 2014-06-20

    Where can i see the documentation on XML views? I find the js API of the interface element but i want a documentation of the property and the content of the pages, lists, tables in XML view! --------------Solutions------------- You're either asking a

    Tags: javascript, sapui5, sapui
  • values not selecting correclty 2014-06-11

    I have a sap.m.inputlistitem with content as The list and select are binded to a JSON model. The list is rendered with select(dropdown) values properly but the problem is...... when I select another element than default value in dropdow

    Tags: javascript, sap, select, html5, sapui5
  • jQuery Date Picker in SAPUI5 2014-06-03

    I know SAPUI5 is using jQuery Date Picker. But I can't see any option in SAPUI datepicker to disable the past date in the picker. <commons:DatePicker width="11em" id="date2" change="date" locale="de-DE" placeholder="{ path : 'modelQmTestDetails

    Tags: javascript, jquery, datepicker, sapui5, sapui
  • OpenUI5 Data Binding Problems 2014-05-07

    I am trying to follow this example at I want to bind the caption of the first widget. But its empty. Why? This is my current attempt: <div data-sap-ui-type="ui5strap.Heading" data-level="4" data-text="{data

    Tags: json, sapui5

Copyright (C), All Rights Reserved.

processed in 3.302 (s). 9 q(s)