on 2008 Apr 17 7:04 AM
Hi all,
I want to colouring the entire row wherever the field value is emergency.
How can i achieve it?
Regards,
Ravi
Hi,
Add colors to table
/people/sap.user72/blog/2006/04/25/colourful-table-in-web-dynpro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Let "Rows" be the context node used as the the table's data source.
Add a subnode "State", cardinality 1:1, selection 1:1, singleton=false to "Rows".
Add a calculated attribute "TextColor" of type "TextViewSemanticColor" to "State".
In the generated get-method of the calculated attribute, return WDTextViewSemanticColor.NEGATIVE if the corresponding "Rows"-element has a negative value.
Bind the "semanticColor" property of the TextView (table cell editor of column showing values) to attribute "Rows.State.TextColor".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
10 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.