on 12-02-2011 4:28 PM
Hello,
We have a requirement to highlight (with distinguish color) a specific value of a table UI based on column data.
Suppose we have a table with 3 column and 5 row, the first column have the name of a property, the second column have the value of property and the third column have a value that it says if the value of second column is positive or negative. if the value is positive we need to highlight the specific value of second column with a different color (green) even if the value is negative we have to change the font color in red.
Can anyone please help me to achieve this requirement?
Best Regards
Andrea
Hi Anand,
Create an attribute in the node which u bind to the table with type as "TableCellDesign" . Bind this attribute to TableCellDesign propety in each column(s) which needed color. At runtime you can set different colours by using WDTableCellDesign.X to this attribute.
Please close the thread if your query is resolved.
Regards,
Satish S.
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 refer this blog also. [Colorful Table in Web Dynpro|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3548] [original link is broken] [original link is broken];
Regards,
Anand G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.