Skip to Content

Dynamic calculated attribute with IWDCalculatedAttributeAccessor

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer