new ReportApp()
Methods
close(callback)
Closes the current report application.
Parameters:
Name | Type | Description |
---|---|---|
callback |
function |
getLinkPath() → {Array}
Returns the report's link path of this application.
Returns:
The array of report pathNode.
pathNode:{
rptsetid: xxxx,
reportid: xxxx,
rptsetName: xxxx,
reportName: xxxx // This name is used to display
active: true/false
}
- Type
- Array
getReportSet() → {Object}
Returns the openned ReportSet.
Returns:
com.jinfonet.api.ReportSet
- Type
- Object
switchLinkPath(pathNode, keepLinked, callback)
Switches to the report with the specified pathNode.
Parameters:
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
pathNode |
Object |
Properties
|
||||||||||||||||||
keepLinked |
Boolean | Whether to keep linked reports. | ||||||||||||||||||
callback |
function |
(inner) attachEvent(eType, flag,, thisObj,, handler,)
Attaches event handler to the specified event type.
Parameters:
Name | Type | Description |
---|---|---|
eType |
String | |
flag, |
Number | The value must be 4 in this api. |
thisObj, |
Object | The object of handler. |
handler, |
function | The event handler. |
(inner) detachEvent(eType, flag,, thisObj,, handler,)
Detaches event handler to the specified event type.
Parameters:
Name | Type | Description |
---|---|---|
eType |
String | |
flag, |
Number | The value must be 4 in this api. |
thisObj, |
Object | The object of handler. |
handler, |
function | The event handler. |