cancel
Showing results for 
Search instead for 
Did you mean: 

Read Only all the UIelements within a Group

Former Member
0 Kudos

Hi all,

Is there any way to put in read_only mode all the elements of a Group ?

I have an attribute in the context and i want to do the binding with some property of the group, but i can't see the property "Read Only" in the group. There is the property Enabled, but if i unmark this the group is displayed in grey and i don't want it...

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi RM,

Group, Tray and TC all these ui elements are work like containers, you can do any manipulations right. so there is no readonly property for this. You can set visible property for all this.

If you want all elements under group means you have to set read only for all ements.

OR

Try like this..

Create one attribute of type wdy_boolean and bind this to enable property of group.

Initially you get all inputs as in disable mode(like read only ).

Put a condition when you want to make enable or disable and pass ABAP_TRUE and FALSE accordingly.

Cheers,

Kris.

Edited by: kissnas on May 26, 2011 12:05 PM

Former Member
0 Kudos

Thanks kissnas,

I'll set read only for all the elements within the group...

Answers (0)