Hi,
I was trying to print a planning calendar but had some issues with CSS (such as the interval time position).
Code in Controller:
onPrint: function () {
var $domTarget = this.byId("oPcId").$()[0],
sTargetContent = $domTarget.innerHTML...
Hi,
You can use custom header for adding buttons,Try this below code.
<Dialog>
<customHeader>
<Bar>
<contentMiddle>
<Title text="Dialog Title"/>
</contentMiddle>
<contentRight>
<Button text="Download" press="handleDownload...
Hi,
Define var that = this within function & Use that instead of this in press function like below Code
beginButton: new sap.m.Button({ text: "Save", press: function() { that.saveAction(); dialog.close(); } }),
Otherwise you can use Below...
Hi,
Find the below code for modifying the placeholder Text
this._oDialog.open();
var oSF = this._oDialog.$().find('.sapMSF');
var oID = oSF[0].id;
var oSearchField = sap.ui.getCore().byId(oID);
oSF[0].placeholder = "setText"; --------...