on 02-15-2012 11:44 AM
Hi WD Developers,
I need help regarding Web Dynpro enhancement - need to set drop down -> as read only.
The read only code which is used for setting field as READ ONLY doesn't seem to work in case of Drop down.
Method which didn't work out for Drop down (1. lo_el_purch_group_dropdown->set_static_attributes 2.lo_el_purch_group_dropdown->set_attribute)
Thanks,
Rohan
what happen when you bind an boolean attribute to read only property of dropdown element?
and what exactly is your requirement?
Regards
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you specify the application you are working on?
Srinivas has suggested binding an attribute to the read-only property, which should be working.
The other way is going over the view APi, cast it down and set the Read-Only property over the respective UI-Class.
Cheers, Lukas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Just create an attribute of type boolean and bind it to the read only property of the drop down box. Whenever you want to make the drop down box read only, you just set the value for the attribute as apab_true.
Regards
Fareez
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.