on 05-02-2011 12:32 PM
Hi,
I am using Standard MDM Webdypro component for Item details.
I am able to change the readonly property for text fields by using..
wdThis.ItemDetailComp.setFieldProperty("FLD_CODE", FieldLayoutProperty.READ_ONLY, true);
but this line of code it working for date fields, fields with lookup popup, integer fields.
Please let me know how to make date fields, fields with lookup popup, integer fields read only through coding.,
Akshay
READ_ONLY is for text fields ..
i dont remember exactly but theres some other property for the date/LU/integer fields
like disable / inactive something like that
put a dot after FieldLayoutProperty and see what all u have
thanks
-Adrivit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
setFieldProperty method is the only such available in item details ...
check this ...
http://help.sap.com/saphelp_nwmdm71/helpdata/en/4c/031f9ac2130da0e10000000a42189e/content.htm
strange why its not happening for the other field types !
thanks
-Adrivit
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.