Using a result set component
The actuate.data.ResultSet class is the container for the report data obtained with actuate.dataservice.downloadResultSet( ). Because a ResultSet object is not a display element, an application can process or display the data in an arbitrary fashion.
The ResultSet class organizes report data into columns and rows, and maintains an internal address for the current row. To increment through the rows, use the ResultSet’s next( ) function as shown in the following code:
function displayData(rs)
{
  while (rs.next( ))
In this example, rs is the ResultSet object passed to the displayData callback function. To read the contents of the ResultSet object, a while loop increments through the rows of data with rs.next( ).
Because a web page that loads a DataService object also loads initiates the Viewer, the target for displaying a result set must be a separate page or application.
 

Additional Links:

Copyright Actuate Corporation 2012