on 07-24-2014 6:47 AM
Hi,
I want to disable the editing in the Date picker and combo box selection should only happen with calendar in case of date picker and drop down in case of combo box . how to achieve this?
Hi Kranthi,
I had the same problem.This is how i resolved the issue.After the combobox code insert below code
comBoboxName.onAfterRendering = function() {
if (sap.m.ComboBox.prototype.onAfterRendering) {
sap.m.ComboBox.prototype.onAfterRendering.apply(this);
}
document.getElementById("<comBoboxId>-inner").disabled=true;
}
give credits if helpful.
SAP UI5 combo box - disable editing in the control | sap abap | sapui5 made easy
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Kranthi,
Use Editable property ....
setEditable = false
Might this help you.
Cheers,
Viplove Khushalani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kranthi,
Did you ever find a solution to this?
Cheers,
Brad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you try using
(var).setEnabled(false); //true
Regards,
Madhumahesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.