This content has been marked as final. Show 4 replies
If you just want to display a concatenated string representing the nodes where audience[n] has a "yes" value, you can do that using a labelFunction(), which is much simpler than using an item renderer
Thanks very much, works a charm. I'm not sure whether I'll be able to use this for my filtering later but I'll post another topic if I get stuck. Thanks.
LabelFunction produces a display-only column.
To filter, you will need to use the underlying data.
Another solution to consider is to create a custom item class. Loop over the xmllist and build instances of the class, populating the properties from the xml.
have a property who's value is calculated based on the audience properties values. Since it is a "real" data property in each item, you can filter on it directly.
I'm on learning how to create classes at the moment (relatively new at OOP) so thanks for pointing me in the right direction.