on 06-14-2010 11:29 AM
Hi,
I've got the following situation:
Context
DynTable1
On this node I add many attributes dynamicly on this way:
for(k=0; k < wdContext.nodeDynTable1MetaData().size(); k++)
wdContext.nodeDynTable1().getNodeInfo().addAttribute(attr+k, dicttype);
The Data will be displayed in a Table. Now I want to color some table cells depending of values inside the table.
I have read a lot of posts, blogs and articles but did not find the best solution for me. I can color the cells with caclulated attributes, but the I have to create a calculated attribute for every table column. I found out that use of the
IWDCalculatedAttributeAccessor maybe a good solution.
Can anybody help with some code or a good example? Did not found anything....
Thanks ahead
Hi
Understand the following tutorial , will help you to achieve your requirement.
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0310fd2-f40d-2a10-b288-bcbe0810a961?quicklink=index&overridelayout=true|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0310fd2-f40d-2a10-b288-bcbe0810a961?quicklink=index&overridelayout=true]
other solution, if you want color at row lable then follow this one
[Colourful Table in Web Dynpro|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3548] [original link is broken] [original link is broken] [original link is broken];
BR
Satish Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.