3.0.0

XML color and sorting

Hi!

I have a problem with an XML using setDataModel. My XML source come from a Java Servlet.

I want to colour the element <one> on red and the element <two> on black; both elements containe numbers. I achieve it when I put one "a" tag around its content, i.e.:

out.print("<one>");
out.print("&lt;a&gt;");
out.print("&lt;font color=&quot;red&quot;&gt;");
out.print("MyContent");
out.print("&lt;/font&gt;");
out.print("&lt;/a&gt;");
out.print("</one>");


The problem appears when I try to sort one column of this xml on the AW. AW sorts the column by the content of the "a" tag, not by the content of the <one> and <two> elements.

Somebody can help me?

Thank you in advance!!
Sergio (Spain)
October 13,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.