on 08-15-2008 9:01 PM
Hi Gurus,
I am on NW2004 WebDynpro. I need to set a color for a row on some condition.
I used "apply template" method to generate the table from RFC on the view. I am looping through the table to get to a condion and add the required semantic color to the row.
How can I achieve this,
LOOP through the TABLE {
-
some statements
if (EXCEPTION ) {
<---want to set the semantic color for the table row HERE-->
<---What to write here---->
}
}
I am using a context node "state" with one attribute "colorR".
"colorR" of type Textviewsemantic color.
I am binding the attribute with the TableCellEditor's sematic property.
Please help....
Thanks
Biroj...
I hope.....everybody had a grt weekend.....
Plz look into my problem.....
as I said , I am on NW2004 ...
Thanks in advance..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Armin,
My context structure is as follows,
<model>Node
---<Valuenode>state
<Attribute>colorR
---Col1
---Col2
---Col3
"colorR" of type Textviewsemantic color.
I am binding the attribute with the TableCellEditor's sematic property.<i.e. col1,col2,col3 TableCellEditor's sematic property>
As I explained before,
my code is something like this,
LOOP through the TABLE {
some statements
if (EXCEPTION ) {
<---want to set the semantic color for the table row HERE-->
<---What to write here---->
}
}
Please let me know if you need more information.
Thanks
biroj...
Biroj,
Follow [this blog|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3548] [original link is broken] [original link is broken] [original link is broken]; to make table rows coloured.
Hope this helps.
Vishwas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
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.