on 05-05-2005 4:03 PM
Hi,
Based on some condition, i need to change the Font colour of rows of the table.Say for one condition Blue and for other it will be grey. Any pointers for the same.
Regards,
Akash Modi
Hi,
You can try the following approach to solve your problem.
1. Create value attribute ("vaTextColor") under the value node which is bound to the table. (bound to the datasource)
2. Set the data type of that attribute ("vaTextColor") to "com.sap.ide.webdynpro.uielementdefinitions.TextViewSemanticColor"
3. Bound the attribute "vaTextColor" to each column of the table (or to the columns to which you require color change).
4. Based on the condition set the "vaTextColor" to some of the standard TextViewSemanticColor.
Hope this helps you solving your problem. If you require any further help reply back.
Regards,
Santhosh.C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Akash,
Check out Harsh Chawla's weblog on Table Handling in WebDynpro:
/people/harsh.chawla/blog/2005/03/08/table-handling-in-webdynpro
You can bind the design property value to context attribute in your structure that you can set based on condition.
-Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For my knowledge we can't change the color of the font in each row !!!
You can set the design property which will take "Alternative, standard,transparent" values.
Regards, VIP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You can set the design property to alternating in the table and try.
Kishore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.