on 02-12-2015 1:31 PM
Hi All,
I need to set the Dialog Box stable in the window.My requirement is user should not able to drag the dialog box.I have tried some jquery codes. But it is not working.
This dialog box opens when an event occurs.When i run my application in IE or chrome, dialog box is coming fine.But I need to restrict the user while dragging.Dragging should not haapen for the user.Please suggest your ideas.
//
var messageDialog = new sap.ui.commons.Dialog("dialogId",
{
width :"350px",
title :titleText,
showCloseButton :false,
modal : true,
keepInWindow :true
}).addStyleClass("myClass");
var messageTextView = new sap.ui.commons.TextView({text : messageText});
var okButton = new sap.ui.commons.Button({text: "Ok", press : function(){messageDialog.close();}}).addStyleClass("blueBtn");
messageDialog.addContent(messageTextView);
messageDialog.addButton(okButton);
messageDialog.addStyleClass("objectiveCatalog");
messageDialog.open();
Did You find solution for that. I need to implement same functionality.....:)
Thanks Vishnu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
overwrite the move handler
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.