对的,比如这样:
- <script type="text/javascript">
- var viewer = GrapeCity.ActiveReports.JSViewer.create({
- element: '#viewerContainer',
- reportID: 'H5参数报表.rdlx',
- reportParameters: [{ name: 'P1', values: ['Reports参数1'] },
- { name: 'P2', values: ['Reports参数2'] }
- ],
- reportService: {},
- setting:{
- ZoomType: 'fitpage'
- }
- });
- </script>
复制代码
|