Hi,
The command dataset.getAsHTML() aligning all columns with numbers at left position. I try to change with RegEx the ‘’ tag to: ‘’, but only for numeric columns.
I try this:
...
var report = '<html>'+ dataset.getAsHTML() +'</html>'
report = '<td >abc</td><td >123</td>'
var pattern = /(>[0-9]+<)/g;
var temp = report.replace( pattern, ' style="text-align: right;" $1' )
But “$1” always is empty and striping founded strings.
How can I solve this problem?
Regards,
Agis
Version 3.5.6-build 519
Java version 1.5.0_13-121 (Mac OS X)