on 01-20-2009 10:42 AM
Hi,
In my application, I have a table for which I have to display background color as yellow for few fields. Based on certain condition the fields are editable else they are made read-only.
I have used Input control for these fields. Problem is that when the fields are made read-only the yellow background is not displayed.
Is there any possibility of displaying yellow background when the fields are made read-only also?
Regards,
Yogitha
Hi Arjun,
Thanks for the reply.
Only at runtime I will know whether the field is read-only or editable. So I have used Input field and at runtime set the readonly property.
When read-only is not set for input field, yellow background appear.
When read-only is set, yellow background doesn't appear.
In the example quoted above, textview is used and yellow background is visible.
Since in my application I know only at runtime whether the field is editable or not, I couldn't use TextView.
Regards,
Yogitha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yogitha,
Refer this article
this is for ALV but same is possible for Table as well, you can proceed in same way......
regards
Pranav
Hi Yogitha,
Check this standard component : wdr_test_table. Look SNGL_MARK_CELL view, it explains the case just like yours.
I hope it helps.
Regards
Arjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.