Re: Define Global Variables in UI5 JS files?
Hi, Declaring global variable is very simple.Just declare the variables as global before sap.ui.jsview( poc.Initial", { like var globalname; sap.ui.jsview( poc.initial",{ I tried it and working fine...
View ArticleRe: how to enable combobox when radio button selected in sapui5
Hi, just attach the onSelect event handler and enable the combobox there: new sap.ui.commons.RadioButton({ text : 'Corporation', tooltip : 'Select for Corporation', groupName : 'Group1',...
View ArticleRe: how to enable combobox when radio button selected in sapui5
hello Harsha... you can also use setVisible(true/false) instead of enable. when you are creating combobox that time set it combobox.setVisible(false)...and when you select a radio buutton call a...
View ArticleRe: Drag and Drop on SAPUI5 ?????
Hello, Although this solution was posted a while back, can i ask whether i can use this with sap.m.List? When i tried to use it was not able to get same result. Regards, Prakash
View ArticleRe: How to change Shell Work Item Links to Lower Case?
Hi Aakash,Yes you are correct. The UI5 style class explicitly converts it to uppercase. You can use the following jQuery snippet (after the page has loaded) to force it to not convert work item headers...
View ArticleRe: Conditional Icon in BindAggregation (ODataModel)
When I need different icons in a list, I use an extra parameter "icon" in my datamodel, and I decide which icon should be used in my backend. So in my ABAP code. e.g.IF ... icon =...
View ArticleDrag and Drop on Table rows
Hi, I´m currently building a Desktop Application with SAPUI5 and am trying to get a Table row draggable, e.g. sortable. I was looking at this code http://jsbin.com/iciyof/2/edit and tried to adapt it...
View ArticleRe: Simple OData Binding with SAPUI5
Hi Andreas,as you "requested" a very simple code example: var oModel = new sap.ui.model.odata.ODataModel("proxy/http/services.odata.org/Northwind/Northwind.svc"); sap.ui.getCore().setModel(oModel); var...
View ArticleFileUploader
Hi, I'm trying to upload an image using the FileUploader control, but I dont know which uploadUrl I have to enter. I tried with this url: http://sapecc.system.loc/sap/bc/ui5_ui5/sap/zwuytsr_ui5/images/...
View ArticleRe: OData Model and Data Binding
Hi Sandip, to get information on the fields of a particular entity, you might want to make use of the method "getServiceMetadata()" of the oData model. If you "drill" into the "dataServices" object of...
View ArticleRe: OData Model and Data Binding
Hi FrankThanks for your reply.In my case, the odata model is bound to any UI control. From the oData output, I need to pick the entries and fields and then populate the UI. Here, the collection -...
View ArticleAdd loading indicator as sending OData request
Hi, Is there anyway to add loading indicator (similar to progress indicator)as binding data. It would be nice for users to know something happensand wait for slower mobile connection.
View ArticleRe: OData Model and Data Binding
Hi Sandip, to get the number of entries, you can not "ask" the model. Instead you have to "ask" a control (e.g. a table) to get the number of entries. In my example above, this is done...
View ArticleTypes of SAP Mobile Technologies
Hi, I am new to SAPUI5 and very much interest to learn SAP Mobile technology.I am currently searching for which one is best like SUP, SAPUI5 and etc..Please let me know which SAP Mobile technology is...
View ArticleRe: OData Model and Data Binding
Thanks FrankSo if I get it correctly, we need to bind the odata model to a control in UI5, then only we can get the values and all then, how about controls like Shell, Tree. How would you populate...
View ArticleRe: Add loading indicator as sending OData request
Hi Mingho,The sap.ui.model.Model class exposes the requestSent, requestCompleted, requestFailed and parseError events. You can try to work out some logic, like perhaps, show the progress indicator when...
View ArticleHow we use sapui5 in Neptune application designer
Hi Friends, I have added neptune application designer as an add-on to sap.but i don't know to design an application in it using sapui5. So friends if u have any material regarding that please...
View ArticleMove the columns of the table
Hello, I build the table and consume gateway service.data is displaying correctly in table.now i want to move (drag) column within table from one position to another?there is event called 'columnMove'....
View Article