Tools for Creating DeepSee Web Clients
DeepSeeResultSet
[Back] [Next]
   
Server:docs2
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

Enables you to work with the results of a DeepSee query.
Where This Object Is Available
This object is available in client-side JavaScript code, if that code includes DeepSee.js. See Introduction to DeepSee.js.”
Creating This Object
To create a result set, call the getCurrentData() method of the data controller object.
Or use code like the following:
var resultset = new DeepSeeResultSet(connection,widget,wait,timeout);
Where:
Properties of This Object
The DeepSee result set object provides the following properties:
Methods of This Object
The DeepSee result set object provides the following JavaScript methods:
getColumnCount()
getColumnCount()
Returns the number of columns in the result set.
getCubeName()
getCubeName()
Returns the name of the cube currently in use.
getErrorMessage()
getErrorMessage()
This method returns the text of the error message contained in the response object, if any.
getOrdinalLabel()
getOrdinalLabel(axis, position)
Where:
Returns an array of strings, corresponding to the labels at the given position on the given axis.
getOrdinalValue()
getOrdinalValue(rowNo,colNo,formatted)
Where:
Returns the value in the given cell.
getQueryStatus()
getQueryStatus()
Returns a numeric value indicating whether the query has completed. This number is 100 if the query has completed. Otherwise, this number is less than 100.
getRowCount()
getRowCount()
Returns the number of rows in the result set.
isError()
isError()
This method returns true if the response object indicates that an error occurred. Returns false otherwise.
runMDXQuery()
runMDXQuery(mdx,finalCallback,pendingCallback,filters)
Where:
This method executes the given MDX query. When the query is pending or completed, DeepSee invokes the given callback functions.
This method has no return value.
runMDXDrillQuery()
runMDXDrillQuery(mdx,finalCallback,pendingCallback,listing,fieldList,filters)
Where:
This method executes the given drillthrough query. When the query is pending or completed, DeepSee invokes the given callback functions.
This method has no return value.
runPivot()
runPivot(pivot,finalCallback,pendingCallback,filters)
Where:
This method executes the MDX query defined by the given pivot table. When the query is pending or completed, DeepSee invokes the given callback functions.
This method has no return value.