|
|
|
|
|
Re: crosstab get aggregate value in javascript [message #1020912 is a reply to message #1020737] |
Tue, 19 March 2013 06:55 |
Sean Lewis Messages: 8 Registered: February 2013 |
Junior Member |
|
|
Thanks! As i was building the sample report I actually figured it out.
I've always used this.getRowData().getColumnValue() to get a value in an onCreate script for helptext.. However you don't need to, you can simply say "row". So either of these two examples work on a regular table :
this.helpText = "Revenue UP from last year : " + this.getRowData().getColumnValue("ly_revenue");
or
this.helpText = "Revenue UP from last year : " + row["ly_revenue"];
However only the latter one will work in a crosstab.
Much easier then the only other way idea I had, building some data element to figured the avlue and set it to a variable then call that in the oncreate script or build it in a html text element.
Thanks again
[Updated on: Tue, 19 March 2013 06:56] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.04859 seconds