| 参数 | 说明 | 类型 | 可选值 | 默认值 | 是否必填 |
|---|---|---|---|---|---|
| type | 打印类型 | String | preview/print/pdf/xls/csv/txt/rtf/img/grd/fun/ui | preview (预览) | 否 |
| report | 模板url | String | - | - | 是 |
| showOptionDlg | 是否弹出打印对话框 | Boolean | true/false | true | 否 |
| PrinterName | 打印机名称(准确值有效) | String | - | - | 是 |
| responseEvents | 指定需要接收的报表事件消息 | String | Initialize/PrintBegin/PrintEnd/ExportBegin/ExportEnd | - | 否 |
| data | 打印数据(data: {row: testdata}) | Object | - | - | 是 |
| 参数 | 说明 | 类型 | 默认值 | 是否必填 |
|---|---|---|---|---|
| socketCallback | 消息回调 | Function | - | 否 |
| customTip | 自定义弹框提示 | Function | - | 否 |
更多参考 Grid++ Report6帮助文档
web报表>web报表客户端 > 启动说明 + 脚本注入与事件消息接收说明